Class: TestHarness::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ajax_timeoutObject

Returns the value of attribute ajax_timeout.


3
4
5
# File 'lib/configuration.rb', line 3

def ajax_timeout
  @ajax_timeout
end

#autoload_pathObject

Returns the value of attribute autoload_path.


3
4
5
# File 'lib/configuration.rb', line 3

def autoload_path
  @autoload_path
end

#browserObject

Returns the value of attribute browser.


3
4
5
# File 'lib/configuration.rb', line 3

def browser
  @browser
end

#namespaceObject

Returns the value of attribute namespace.


3
4
5
# File 'lib/configuration.rb', line 3

def namespace
  @namespace
end

#server_hostObject

Returns the value of attribute server_host.


3
4
5
# File 'lib/configuration.rb', line 3

def server_host
  @server_host
end

Instance Method Details

#setup_cucumber_hooks(scope) ⇒ Object


5
6
7
8
9
# File 'lib/configuration.rb', line 5

def setup_cucumber_hooks(scope)
  scope.Before do
    TestHarness.reset
  end
end