Sha256: c5c007485d3ec3358de759e76f398768fee9396ddbd76eaa4f0b6f0d1b990140
Contents?: true
Size: 403 Bytes
Versions: 14
Compression:
Stored size: 403 Bytes
Contents
require_relative '../../test_helper' require_relative '../../unit/eval_helper/eval_helpers_base_test' class EvalHelpersTest < EvalHelpersBaseTest def setup @object = Object.new end def test_should_raise_exception_if_method_is_not_symbol_string_or_proc exception = assert_raises(ArgumentError) { evaluate_method(@object, 1) } assert_match(/Methods must/, exception.message) end end
Version data entries
14 entries across 14 versions & 2 rubygems