method
header
1.1.12 -
Show latest stable
- Class:
Spec::Runner::Reporter::Failure
header()public
No documentation available.
# File lib/spec/runner/reporter.rb, line 143
def header
if expectation_not_met?
"'#{example_name}' FAILED"
elsif pending_fixed?
"'#{example_name}' FIXED"
else
"#{@exception.class.name} in '#{example_name}'"
end
end