Module: ExpectsChain::Methods

Included in:
Object
Defined in:
lib/expects_chain.rb

Instance Method Summary collapse

Instance Method Details

#expects_chain(*args) ⇒ Object



8
9
10
# File 'lib/expects_chain.rb', line 8

def expects_chain *args
  ExpectsChain::Expectation.new(:mock, self, *args) 
end

#stubs_chain(*args) ⇒ Object



12
13
14
# File 'lib/expects_chain.rb', line 12

def stubs_chain *args
  ExpectsChain::Expectation.new(:stub, self, *args) 
end