Sha256: 4d8fb1680fe1f4be0110b78122ef2cacbc9f42831052d35cf438ecffad9189eb

Contents?: true

Size: 335 Bytes

Versions: 3

Compression:

Stored size: 335 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

3 entries across 3 versions & 1 rubygems

Version Path
picolena-0.1.6 rails_plugins/rspec/lib/spec/story/runner/scenario_collector.rb
picolena-0.1.7 rails_plugins/rspec/lib/spec/story/runner/scenario_collector.rb
picolena-0.1.8 rails_plugins/rspec/lib/spec/story/runner/scenario_collector.rb