Sha256: 8f758530d3e9f2042cb161e370767cfd695b973be85c792c54e5ba30bf6ca426

Contents?: true

Size: 351 Bytes

Versions: 75

Compression:

Stored size: 351 Bytes

Contents

module Spec
  module Story
    module Runner
      class ScenarioCollector
        attr_accessor :scenarios
        
        def initialize(story)
          @story = story
          @scenarios = []
        end
        
        def Scenario(name, &body)
          @scenarios << Scenario.new(@story, name, &body)
        end
      end
    end
  end
end

Version data entries

75 entries across 75 versions & 13 rubygems

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