Flowdock
method

story_started

Importance_0
story_started(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 35
          def story_started(title, narrative)
            @pre_story_pending_count = @pending_scenario_count
            @pre_story_successful_count = @successful_scenario_count
            
            @current_story_title = title
            @story_failed = false
            @story_body_text = ""
            @story_head_text = "Story: #{title}\n\n"

            narrative.each_line do |line|
              @story_head_text += "  "
              @story_head_text += line
            end
          end
Register or log in to add new notes.