Sha256: d69ef75bbeacfdcfc47210a7a14830733effab8d84cd90a0decfa3b47031243b

Contents?: true

Size: 341 Bytes

Versions: 6

Compression:

Stored size: 341 Bytes

Contents

require 'rspec/core/hooks'

module RSpec::Core::Hooks
  class HookCollections
    SCOPES << :step

    def initialize(owner, data)
      @owner = owner
      @data = data.merge(
        :before => data[:before].merge(:step => HookCollection.new),
        :after  => data[:after ].merge(:step => HookCollection.new)
      )
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-steps-1.0.7 lib/rspec-steps/duckpunch/hooks.rb
rspec-steps-1.0.6 lib/rspec-steps/duckpunch/hooks.rb
rspec-steps-1.0.5 lib/rspec-steps/duckpunch/hooks.rb
rspec-steps-1.0.4 lib/rspec-steps/duckpunch/hooks.rb
rspec-steps-1.0.3 lib/rspec-steps/duckpunch/hooks.rb
rspec-steps-1.0.2 lib/rspec-steps/duckpunch/hooks.rb