twice(&block) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

Hide source
# File lib/spec/mocks/message_expectation.rb, line 283
      def twice(&block)
        @method_block = block if block
        @expected_received_count = 2
        self
      end
Register or log in to add new notes.