class RSpec::Mocks::MessageExpectation
Public Instance Methods
verify_messages_received()
click to toggle source
# File lib/rspec/message/within.rb, line 22 def verify_messages_received MessageWithin.until(@within_time || 0) do expected_messages_received? and !negative? end orig_verify_messages_received end
Also aliased as: orig_verify_messages_received
within(time)
click to toggle source
# File lib/rspec/message/within.rb, line 30 def within(time) @within_time = time self end