Sha256: ef77afd6be3ae0ca9e56d76907b19202a05338f5281745daf8c70802114d7fb2
Contents?: true
Size: 380 Bytes
Versions: 14
Compression:
Stored size: 380 Bytes
Contents
require_relative '../../test_helper' require_relative '../../unit/eval_helper/eval_helpers_base_test' class EvalHelpersProcWithArgumentsTest < EvalHelpersBaseTest def setup @object = Object.new @proc = lambda { |*args| args } end def test_should_call_method_with_all_arguments assert_equal [@object, 1, 2, 3], evaluate_method(@object, @proc, 1, 2, 3) end end
Version data entries
14 entries across 14 versions & 2 rubygems