Flowdock
method

run

Importance_0
run(story_runner=Spec::Story::Runner.story_runner) public

No documentation

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

Hide source
# File lib/spec/story/runner/plain_text_story_runner.rb, line 29
        def run(story_runner=Spec::Story::Runner.story_runner)
          raise "You must set a path to the file with the story. See the RDoc." if @story_file.nil?
          mediator = Spec::Story::Runner::StoryMediator.new(steps, story_runner, @options)
          parser = Spec::Story::Runner::StoryParser.new(mediator)

          story_text = File.read(@story_file)          
          parser.parse(story_text.split("\n"))

          mediator.run_stories
        end
Register or log in to add new notes.