method
scenario_failed
1.1.4 -
Show latest stable
- Class:
Spec::Runner::Formatter::Story::PlainTextFormatter
scenario_failed(story_title, scenario_name, err)public
No documentation available.
# File lib/spec/runner/formatter/story/plain_text_formatter.rb, line 48
def scenario_failed(story_title, scenario_name, err)
@options.backtrace_tweaker.tweak_backtrace(err)
@failed_scenarios << [story_title, scenario_name, err] unless @scenario_already_failed
@scenario_already_failed = true
end