method
scenario_failed
![No documentation Importance_0](https://d2vfyqvduarcvs.cloudfront.net/images/importance_0.png?1349367920)
1.1.12 -
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?
scenario_failed(story_title, scenario_name, err)
public
Hide source
# File lib/spec/runner/formatter/story/plain_text_formatter.rb, line 79 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 @story_failed = true @scenario_failed = true scenario_ended end