Sha256: 85b99333c4c45797b9203a47ad6afa13a98b2ff1debce4afae89a3845727274d

Contents?: true

Size: 288 Bytes

Versions: 38

Compression:

Stored size: 288 Bytes

Contents

module RSpec
  module Core
    module SharedExampleGroup
      def contexts(ctxts, &block)
        ctxts.each do |name, setup_proc|
          context(*[*name]) do
            instance_eval &setup_proc
            instance_eval &block
          end
        end
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
pacer-2.0.24-java spec/support/contexts.rb
pacer-2.0.22-java spec/support/contexts.rb
pacer-2.0.20-java spec/support/contexts.rb
pacer-2.0.19-java spec/support/contexts.rb
pacer-2.0.18-java spec/support/contexts.rb
pacer-2.0.17-java spec/support/contexts.rb
pacer-2.0.16-java spec/support/contexts.rb
pacer-2.0.15-java spec/support/contexts.rb
pacer-2.0.14-java spec/support/contexts.rb
pacer-2.0.13-java spec/support/contexts.rb
pacer-2.0.12-java spec/support/contexts.rb
pacer-2.0.10-java spec/support/contexts.rb
pacer-2.0.10.pre-java spec/support/contexts.rb
pacer-2.0.8-java spec/support/contexts.rb
pacer-2.0.6-java spec/support/contexts.rb
pacer-2.0.4.pre-java spec/support/contexts.rb
pacer-2.0.0.pre-java spec/support/contexts.rb
pacer-1.6.0-java spec/support/contexts.rb
pacer-1.5.4-java spec/support/contexts.rb
pacer-1.5.3-java spec/support/contexts.rb