Sha256: cfcf1984ce9cbdc35d39a025e7b018b396024dfa1d08425deffc6466d5a85694
Contents?: true
Size: 397 Bytes
Versions: 14
Compression:
Stored size: 397 Bytes
Contents
require_relative '../../test_helper' require_relative '../../unit/eval_helper/eval_helpers_base_test' class EvalHelpersSymbolWithBlockTest < EvalHelpersBaseTest def setup class << (@object = Object.new) def callback yield end end end def test_should_call_method_on_object_with_block assert_equal true, evaluate_method(@object, :callback) { true } end end
Version data entries
14 entries across 14 versions & 2 rubygems