method
scenario_ended

RSpec latest stable (1.3.1)
-
0 notes -
Class: Spec::Runner::Formatter::Story::PlainTextFormatter
- 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/plain_text_formatter.rb, line 95 def scenario_ended if @scenario_failed @story_body_text += red(@scenario_head_text) elsif @scenario_pending @story_body_text += yellow(@scenario_head_text) else @story_body_text += green(@scenario_head_text) end @story_body_text += @scenario_body_text end