method
scenario_ended
RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Runner::Formatter::Story::ProgressBarFormatter
- 1.1.4
- 1.1.12 (0)
- 1.2.0
- 1.2.8
- 1.3.0
- 1.3.1
- What's this?
scenario_ended()
public
Hide source
# File lib/spec/runner/formatter/story/progress_bar_formatter.rb, line 25 def scenario_ended if @scenario_failed @output.print red('F') @output.flush elsif @scenario_pending @output.print yellow('P') @output.flush else @output.print green('.') @output.flush end end