Displaying 1 result from an estimated 1 matches for "assert_passed".
2008 Jan 28
9
Nested matchers
...st to parameter_matcher_acceptance_test.rb, which
passes in 0.5.5 and fails in 0.5.6
def test_should_match_nested_parameters
test_result = run_test do
mock = mock()
mock.expects(:method).with(:literal_key => kind_of(Integer))
mock.method(:literal_key => 1)
end
assert_passed(test_result)
end
Any insight?