class RSpec::Mocks::AnyInstance::ExpectationChain

Public Instance Methods

expectation_fulfilled?() click to toggle source
# File lib/rspec/message/within.rb, line 53
def expectation_fulfilled?
  RSpec::MessageWithin.until(@within_time || 0) do
    orig_expectation_fulfilled?
  end

  orig_expectation_fulfilled?
end
Also aliased as: orig_expectation_fulfilled?
orig_expectation_fulfilled?()
within(time) click to toggle source
# File lib/rspec/message/within.rb, line 61
def within(time)
  @within_time = time
  self
end