class EvalHelpersStringWithBlockTest

Public Instance Methods

setup() click to toggle source
# File test/unit/eval_helpers_test.rb, line 113
def setup
  @object = Object.new
end
test_should_call_method_on_object_with_block() click to toggle source
# File test/unit/eval_helpers_test.rb, line 117
def test_should_call_method_on_object_with_block
  assert_equal 1, evaluate_method(@object, 'yield') { 1 }
end