method

create_story

rspec latest stable - Class: Spec::Story::Runner::StoryParser

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.

create_story()
public

No documentation available.

# File lib/spec/story/runner/story_parser.rb, line 50
        def create_story()
          unless @current_story_lines.empty?
            @story_mediator.create_story(@current_story_lines[0].gsub("Story: ",""), @current_story_lines[1..-1].join("\n"))
            @current_story_lines.clear
          end
        end