class EvalHelpersTest

Public Instance Methods

setup() click to toggle source
# File test/unit/eval_helpers_test.rb, line 11
def setup
  @object = Object.new
end
test_should_raise_exception_if_method_is_not_symbol_string_or_proc() click to toggle source
# File test/unit/eval_helpers_test.rb, line 15
def test_should_raise_exception_if_method_is_not_symbol_string_or_proc
  exception = assert_raise(ArgumentError) { evaluate_method(@object, 1) }
  assert_match /Methods must/, exception.message
end