Module: RSpecCandy::Helpers::ShouldReceiveChain

Defined in:
lib/rspec_candy/helpers/should_receive_chain.rb

Instance Method Summary collapse

Instance Method Details

#should_not_receive_chain(*parts) ⇒ Object



9
10
11
# File 'lib/rspec_candy/helpers/should_receive_chain.rb', line 9

def should_not_receive_chain(*parts)
  setup_expectation_chain(parts, :negate => true)
end

#should_receive_chain(*parts) ⇒ Object



5
6
7
# File 'lib/rspec_candy/helpers/should_receive_chain.rb', line 5

def should_receive_chain(*parts)
  setup_expectation_chain(parts)
end