acceptance/ruby/support/extensions.rb
# Normalize a timeout value so it's at least 1 second

Normalize a timeout value so it's at least 1 second
Normalize a timeout value so it ' s at least 1 second
def normalize_timeout(timeout)
    if timeout == nil
      timeout = Capybara.default_wait_time
    end
    if timeout < 1
      timeout = 1
    end
    return timeout
  end
def normalize_timeout ( timeout ) if timeout == nil timeout = Capybara . default_wait_time end if timeout < 1 timeout = 1 end return timeout end
Normalize a timeout value so it's at least 1 second
Normalize a timeout value so it ' s at least 1 second
timeout
<not_specific>