Method: Spec::Runner::Reporter::Failure#header
- Defined in:
- lib/spec/runner/reporter.rb
#header ⇒ Object
140 141 142 143 144 145 146 147 148 |
# File 'lib/spec/runner/reporter.rb', line 140 def header if expectation_not_met? "'#{example_name}' FAILED" elsif pending_fixed? "'#{example_name}' FIXED" else "#{@exception.class.name} in '#{example_name}'" end end |