Skip to content

Commit

Permalink
Using #received in #assert_received, instead of
Browse files Browse the repository at this point in the history
SpyVerificationProxy.new.
  • Loading branch information
Brian Takita committed Nov 30, 2008
1 parent 723b2db commit 0a00e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rr/adapters/test_unit.rb
Expand Up @@ -22,7 +22,7 @@ def teardown_with_rr
end

def assert_received(subject, &block)
block.call(SpyVerificationProxy.new(subject)).call
block.call(received(subject)).call
end
end
end
Expand Down

0 comments on commit 0a00e57

Please sign in to comment.