Sha256: b38b4fd0645a04dd7260766354d7284d84f858946f91070ca1955e82983a8355
Contents?: true
Size: 511 Bytes
Versions: 23
Compression:
Stored size: 511 Bytes
Contents
module RSpec module Mocks module AnyInstance # @private class StubChainChain < StubChain # @private def initialize(*args, &block) record(:stub_chain, *args, &block) end private def invocation_order @invocation_order ||= { :stub_chain => [nil], :and_return => [:stub_chain], :and_raise => [:stub_chain], :and_yield => [:stub_chain] } end end end end end
Version data entries
23 entries across 23 versions & 10 rubygems