method

story_ended

Importance_0
story_ended(title, narrative) public

No documentation

This method has no description. You can help the RSpec community by adding new notes.

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
Register or log in to add new notes.