Sha256: eeff72e96d952384da48fb6e27d0f082162a1ed6bf8389970cc1d9c1feb0c594

Contents?: true

Size: 298 Bytes

Versions: 28

Compression:

Stored size: 298 Bytes

Contents

module RSpec
  module Core
    module SharedContext
      include Hooks

      def included(group)
        [:before, :after].each do |type|
          [:all, :each].each do |scope|
            group.hooks[type][scope].concat hooks[type][scope]
          end
        end
      end

    end
  end
end

Version data entries

28 entries across 28 versions & 4 rubygems

Version Path
horseman-0.0.4 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
horseman-0.0.3 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
horseman-0.0.2 vendor/ruby/1.9.1/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
nutshell-crm-0.0.6.alpha vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
nutshell-crm-0.0.5 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
nutshell-crm-0.0.4 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
nutshell-crm-0.0.3 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
nutshell-crm-0.0.2 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
nutshell-crm-0.0.1 vendor/bundle/gems/rspec-core-2.7.1/lib/rspec/core/shared_context.rb
rspec-core-2.7.1 lib/rspec/core/shared_context.rb
rspec-core-2.7.0 lib/rspec/core/shared_context.rb
rspec-core-2.7.0.rc1 lib/rspec/core/shared_context.rb
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/shared_context.rb
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/rspec-core-2.5.1/lib/rspec/core/shared_context.rb
rspec-core-2.6.4 lib/rspec/core/shared_context.rb
rspec-core-2.6.3 lib/rspec/core/shared_context.rb
rspec-core-2.6.3.beta1 lib/rspec/core/shared_context.rb
rspec-core-2.6.2.rc lib/rspec/core/shared_context.rb
rspec-core-2.6.0 lib/rspec/core/shared_context.rb
rspec-core-2.6.0.rc6 lib/rspec/core/shared_context.rb