Sha256: db714a4072b9c9e34136b763914e61839419805f4daca5a60bde372d1621c543

Contents?: true

Size: 672 Bytes

Versions: 13

Compression:

Stored size: 672 Bytes

Contents

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

          def validate!
          end

          def include(*modules, **_options)
            test_case_class.include(*modules)
          end

          def n_unit?
            true
          end

          def present?
            true
          end

          protected

          attr_reader :configuration

          private

          def test_case_class
            ActiveSupport::TestCase
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
shoulda-matchers-6.4.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-6.3.1 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-6.3.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-6.2.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-6.1.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-6.0.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-5.3.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-5.2.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-5.1.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-5.0.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-5.0.0.rc1 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-4.5.1 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb
shoulda-matchers-4.5.0 lib/shoulda/matchers/integrations/test_frameworks/active_support_test_case.rb