Method: ExpectsChain::Expectation#raises
- Defined in:
- lib/expects_chain/expectation.rb
#raises(exception) ⇒ Object
15 16 17 18 19 |
# File 'lib/expects_chain/expectation.rb', line 15 def raises exception @rtype = :raises set_up_call_chain exception exception end |