Flowdock
method

story_ended

Importance_0
RSpec latest stable (1.3.1) - 0 notes - Class: Spec::Runner::Formatter::Story::PlainTextFormatter

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

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.