lib/spec/story/given_scenario.rb



module Spec
  module Story
    class GivenScenario
      def initialize(name)
        @name = name
      end
      
      def perform(instance, ignore_name)
        scenario = Runner::StoryRunner.scenario_from_current_story(@name)
        Runner::ScenarioRunner.new.run(scenario, instance)
      end
    end
  end
end