Sha256: 7eb50c53f5def8464f2ef96e60f3b6d81d2dd5422369e3b6e4d5fffcec879065

Contents?: true

Size: 234 Bytes

Versions: 4

Compression:

Stored size: 234 Bytes

Contents

module Test
  module Support
    module Shared
      def shares_tests(*tests)
        tests.each do |test|
          include Tests::Shared.const_get(test.to_s.split('_').map(&:capitalize).join)
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
configurations-2.2.2 test/support/shared.rb
configurations-2.2.1 test/support/shared.rb
configurations-2.2.0 test/support/shared.rb
configurations-2.0.0 test/support/shared.rb