Method: RSpec::Core::Example::ExecutionResult#pending_exception
- Defined in:
- lib/rspec/core/example.rb
permalink #pending_exception ⇒ Exception?
Returns The exception triggered while
executing the pending example. If no exception was triggered
it would no longer get a status of :pending
unless it was
tagged with :skip
.
582 583 584 |
# File 'lib/rspec/core/example.rb', line 582 def pending_exception @pending_exception end |