Method: TallyAction#exception
- Defined in:
- lib/mspec/runner/actions/tally.rb
#exception(exception) ⇒ Object
Callback for the MSpec :exception event. Increments the tally of errors and failures.
103 104 105 |
# File 'lib/mspec/runner/actions/tally.rb', line 103 def exception(exception) exception.failure? ? @counter.failures! : @counter.errors! end |