Class: RSpec::Mocks::AnyInstance::StubChain

Inherits:
Chain
  • Object
show all
Defined in:
lib/rspec/mocks/any_instance/stub_chain.rb

Direct Known Subclasses

ExpectChainChain, StubChainChain

Instance Method Summary (collapse)

Methods inherited from Chain

#constrained_to_any_of?, #expectation_fulfilled!, #initialize, #never, #playback!

Methods included from Chain::Customizations

#and_call_original, #and_raise, #and_return, #and_throw, #and_yield, #any_number_of_times, #at_least, #at_most, #exactly, #never, #once, record, #times, #twice, #with

Constructor Details

This class inherits a constructor from RSpec::Mocks::AnyInstance::Chain

Instance Method Details

- (Boolean) expectation_fulfilled?

Returns:

  • (Boolean)


8
9
10
# File 'lib/rspec/mocks/any_instance/stub_chain.rb', line 8

def expectation_fulfilled?
  true
end