class Cucumber::Wire::TestConfiguration
Attributes
custom_timeout[R]
Public Class Methods
new()
click to toggle source
# File spec/cucumber/wire/connection_spec.rb, line 14 def initialize @custom_timeout = {} end
Public Instance Methods
host()
click to toggle source
# File spec/cucumber/wire/connection_spec.rb, line 23 def host 'localhost' end
port()
click to toggle source
# File spec/cucumber/wire/connection_spec.rb, line 27 def port '3902' end
timeout(message = nil)
click to toggle source
# File spec/cucumber/wire/connection_spec.rb, line 18 def timeout(message = nil) return :default_timeout if message.nil? @custom_timeout[message] || Configuration::DEFAULT_TIMEOUTS.fetch(message) end