method
step_failed
1.1.12 -
Show latest stable
- Class:
Spec::Runner::Formatter::Story::PlainTextFormatter
step_failed(type, description, *args)public
No documentation available.
# File lib/spec/runner/formatter/story/plain_text_formatter.rb, line 149
def step_failed(type, description, *args)
found_step(type, description, true, @scenario_pending, *args)
if @scenario_pending
@scenario_body_text += yellow(" (SKIPPED)")
else
@scenario_body_text += red(@scenario_ok ? " (FAILED)" : " (SKIPPED)")
end
@scenario_ok = false
end