Sha256: dc5be549a3ba727f35d4e3708ab921ff98c79a91162fa480492eb2c8ea1cceee
Contents?: true
Size: 674 Bytes
Versions: 7231
Compression:
Stored size: 674 Bytes
Contents
module RSpec module Mocks module AnyInstance # @private class ExpectChainChain < StubChain def initialize(*args) super @expectation_fulfilled = false end def expectation_fulfilled? @expectation_fulfilled end def playback!(instance) super.tap { @expectation_fulfilled = true } end private def create_message_expectation_on(instance) ::RSpec::Mocks::ExpectChain.expect_chain_on(instance, *@expectation_args, &@expectation_block) end def invocation_order EmptyInvocationOrder end end end end end
Version data entries
7,231 entries across 7,156 versions & 101 rubygems