method
story_ended
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?
story_ended(title, narrative)
public
Hide source
# File lib/spec/runner/formatter/story/plain_text_formatter.rb, line 50 def story_ended(title, narrative) if @story_failed @output.print red(@story_head_text) elsif @pre_story_successful_count == @successful_scenario_count && @pending_scenario_count >= @pre_story_pending_count @output.print yellow(@story_head_text) else @output.print green(@story_head_text) end @output.print @story_body_text @output.puts @output.puts end