class RSpec::Mocks::MessageExpectation
def at_least(n, &block)
@example
number of times.
Constrain a message expectation to be received at least a specific
def at_least(n, &block) set_expected_received_count :at_least, n if n == 0 raise "at_least(0) has been removed, use allow(...).to receive(:message) instead" end self.inner_implementation_action = block self end