Sha256: 7f120ed0e43a677e373d28c4ca28b9c8b4ed2e0ae03140d2a0f18ffd476581ac

Contents?: true

Size: 716 Bytes

Versions: 15

Compression:

Stored size: 716 Bytes

Contents

module Shoulda
  module Matchers
    module Integrations
      module TestFrameworks
        # @private
        class Minitest5
          Integrations.register_test_framework(self, :minitest_5)
          Integrations.register_test_framework(self, :minitest)

          def validate!
          end

          def include(*modules, **options)
            test_case_class.class_eval do
              include(*modules)
              extend(*modules)
            end
          end

          def n_unit?
            true
          end

          def present?
            true
          end

          private

          def test_case_class
            Minitest::Test
          end
        end
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
shoulda-matchers-4.4.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.4.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.3.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.2.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.1.2 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.1.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.1.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.0.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-3.1.3 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-4.0.0.rc1 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-3.1.2 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-3.1.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-3.1.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-3.0.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb
shoulda-matchers-3.0.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_5.rb