lib/test_helper.rb in test-harness-0.4.7 vs lib/test_helper.rb in test-harness-0.4.9
- old
+ new
@@ -1,7 +1,13 @@
class TestHarness
module TestHelper
- delegate :configuration, :given, :uiv, :uid, :mm, :to => TestHarness
+ def method_missing(method, *args)
+ if [:configuration, :given, :uiv, :uid, :mm, :to].include?(method)
+ TestHarness.send(method)
+ else
+ super
+ end
+ end
def browser
configuration.browser
end
end