method
example_finished
example_finished(example, error=nil)
public
Hide source
# File lib/spec/runner/reporter.rb, line 27 def example_finished(example, error=nil) @example_count += 1 if error.nil? example_passed(example) elsif Spec::Example::ExamplePendingError === error example_pending(example, example.location, error.message) else example_failed(example, error) end end