method

scenario_ended

rspec latest stable - Class: Spec::Runner::Formatter::Story::ProgressBarFormatter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

scenario_ended()
public

No documentation available.

# 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