Sha256: cffa750676ecf73ebdc99a0ec3f5343d157b44b524498520a3197f3fc3976db7

Contents?: true

Size: 318 Bytes

Versions: 74

Compression:

Stored size: 318 Bytes

Contents

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

Version data entries

74 entries across 74 versions & 12 rubygems

Version Path
dchelimsky-rspec-1.1.10 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11.1 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11.2 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11.3 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11.4 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11.5 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11.6 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11.7 lib/spec/story/given_scenario.rb
dchelimsky-rspec-1.1.11 lib/spec/story/given_scenario.rb
dchelimsky-rspec-stories-1.0.0 lib/spec/story/given_scenario.rb
jnstq-acts_as_sms-0.1.0 test/vendor/plugins/rspec/lib/spec/story/given_scenario.rb
jnstq-acts_as_sms-0.1.1 test/vendor/plugins/rspec/lib/spec/story/given_scenario.rb
jnstq-acts_as_sms-0.1.3 test/vendor/plugins/rspec/lib/spec/story/given_scenario.rb
jnstq-acts_as_sms-0.1.4 test/vendor/plugins/rspec/lib/spec/story/given_scenario.rb
samstokes-rspec-stories-1.0.1 lib/spec/story/given_scenario.rb
samstokes-rspec-stories-1.0.2 lib/spec/story/given_scenario.rb
merb-core-1.1.3 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/given_scenario.rb
merb-core-1.1.2 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/given_scenario.rb
merb-core-1.1.1 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/given_scenario.rb
merb-core-1.1.0 spec10/public/webrat/test_app/gems/gems/rspec-1.1.11/lib/spec/story/given_scenario.rb