method
example_failed
1.2.8 -
Show latest stable
- Class:
Spec::Runner::Reporter
example_failed(example, error)public
No documentation available.
# File lib/spec/runner/reporter.rb, line 39
def example_failed(example, error)
backtrace_tweaker.tweak_backtrace(error)
failure = Failure.new(@example_group.description, example.description, error)
@failures << failure
formatters.each do |f|
f.example_failed(example, @failures.length, failure)
end
end