class EvalHelpersProcTest

Public Instance Methods

setup() click to toggle source
# File test/unit/eval_helpers_test.rb, line 123
def setup
  @object = Object.new
  @proc = lambda {|obj| obj}
end
test_should_call_proc_with_object_as_argument() click to toggle source
# File test/unit/eval_helpers_test.rb, line 128
def test_should_call_proc_with_object_as_argument
  assert_equal @object, evaluate_method(@object, @proc, 1, 2, 3)
end