Module: Spec::Story::Extensions::Main::StoryRunnerStepGroupAdapter

Defined in:
lib/spec/story/extensions/main.rb

Instance Method Summary collapse

Instance Method Details

#run(path, options = {}) ⇒ Object



70
71
72
73
74
# File 'lib/spec/story/extensions/main.rb', line 70

def run(path, options={})
  runner = Spec::Story::Runner::PlainTextStoryRunner.new(path, options)
  runner.steps << self
  runner.run
end