class RSpec::Mocks::MessageExpectation
def once(&block)
@example
Expect a message to be received exactly one time.
def once(&block) self.inner_implementation_action = block set_expected_received_count :exactly, 1 self end
def once(&block) self.inner_implementation_action = block set_expected_received_count :exactly, 1 self end