method
failure

1.1.12 -
Show latest stable
-
0 notes -
Class: Spec::Runner::Reporter
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
failure(example, error)
public
Hide source
# File lib/spec/runner/reporter.rb, line 35 def failure(example, error) backtrace_tweaker.tweak_backtrace(error) failure = Failure.new(example, error) @failures << failure formatters.each do |f| f.example_failed(example, @failures.length, failure) end end