class EvalHelpersSymbolWithArgumentsTest
Public Instance Methods
setup()
click to toggle source
# File test/unit/eval_helpers_test.rb, line 36 def setup class << (@object = Object.new) def callback(*args) args end end end
test_should_call_method_with_all_arguments()
click to toggle source
# File test/unit/eval_helpers_test.rb, line 44 def test_should_call_method_with_all_arguments assert_equal [1, 2, 3], evaluate_method(@object, :callback, 1, 2, 3) end