Module: ExpectsChain::Methods

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

Instance Method Summary collapse

Instance Method Details

#expects_chain(*args) ⇒ Object



10
11
12
# File 'lib/expects_chain.rb', line 10

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

#stubs_chain(*args) ⇒ Object



14
15
16
# File 'lib/expects_chain.rb', line 14

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