class RSpec::Mocks::MessageExpectation

Public Instance Methods

orig_verify_messages_received()
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
within(time) click to toggle source
# File lib/rspec/message/within.rb, line 30
def within(time)
  @within_time = time
  self
end