Module: TestHarness::TestHelper

Defined in:
lib/test_helper.rb

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/test_helper.rb', line 3

def method_missing(method, *args)
  if [:configuration, :given, :uiv, :uid, :mm, :to].include?(method)
    TestHarness.send(method)
  else
    super
  end
end

Instance Method Details

#browserObject



11
12
13
# File 'lib/test_helper.rb', line 11

def browser
  configuration.browser
end