Sha256: 5c1d9b4b593f8568573dcbd9772dc80dbe8f91da67b3408e7f19cde920d977c6

Contents?: true

Size: 662 Bytes

Versions: 15

Compression:

Stored size: 662 Bytes

Contents

module Shoulda
  module Matchers
    module Integrations
      module TestFrameworks
        # @private
        class Minitest4
          Integrations.register_test_framework(self, :minitest_4)

          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::Unit::TestCase
          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_4.rb
shoulda-matchers-4.4.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-4.3.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-4.2.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-4.1.2 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-4.1.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-4.1.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-4.0.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-3.1.3 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-4.0.0.rc1 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-3.1.2 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-3.1.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-3.1.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-3.0.1 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb
shoulda-matchers-3.0.0 lib/shoulda/matchers/integrations/test_frameworks/minitest_4.rb