class EvalHelpersSymbolTest

Public Instance Methods

setup() click to toggle source
# File test/unit/eval_helpers_test.rb, line 22
def setup
  class << (@object = Object.new)
    def callback
      true
    end
  end
end
test_should_call_method_on_object_with_no_arguments() click to toggle source
# File test/unit/eval_helpers_test.rb, line 30
def test_should_call_method_on_object_with_no_arguments
  assert_equal true, evaluate_method(@object, :callback, 1, 2, 3)
end