method
step_failed
1.1.4 -
Show latest stable
-
0 notes -
Class: Spec::Runner::Formatter::Story::PlainTextFormatter
- 1.1.4 (0)
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
step_failed(type, description, *args)
public
Hide source
# File lib/spec/runner/formatter/story/plain_text_formatter.rb, line 97 def step_failed(type, description, *args) found_step(type, description, true, @scenario_pending, *args) if @scenario_pending @output.print yellow(" (SKIPPED)") else @output.print red(@scenario_ok ? " (FAILED)" : " (SKIPPED)") end @scenario_ok = false end