method
story_started
RSpec latest stable (1.3.1)
-
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_started(title, narrative)
public
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