class RSpec::Mocks::MessageExpectation
def twice(&block)
-
(MessageExpectation)
- self, to support further chaining.
def twice(&block) self.inner_implementation_action = block set_expected_received_count :exactly, 2 self end
(MessageExpectation)
- self, to support further chaining.
def twice(&block) self.inner_implementation_action = block set_expected_received_count :exactly, 2 self end