method

scenario_started

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

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_started(story_title, scenario_name)
public

No documentation available.

# File lib/spec/runner/formatter/story/plain_text_formatter.rb, line 64
          def scenario_started(story_title, scenario_name)
            @current_scenario_name = scenario_name
            @scenario_already_failed = false
            @scenario_head_text = "\n\n  Scenario: #{scenario_name}"
            @scenario_body_text = ""
            @scenario_ok = true
            @scenario_pending = false
            @scenario_failed = false
          end