Module | Mocha::API |
In: |
lib/bourne/api.rb
|
Asserts that the given mock received the given method.
Examples:
assert_received(mock, :to_s) assert_received(Radio, :new) {|expect| expect.with(1041) } assert_received(radio, :volume) {|expect| expect.with(11).twice }