Method: RSpec::Core::Example::ExecutionResult#record_finished
- Defined in:
- lib/rspec/core/example.rb
#record_finished(status, finished_at) ⇒ void
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Records the finished status of the example.
603 604 605 606 |
# File 'lib/rspec/core/example.rb', line 603 def record_finished(status, finished_at) self.status = status calculate_run_time(finished_at) end |