Sha256: f4ffbd40647186464708733a9e52512b8b04f433ed9a676e1d0437e6d6c63e29

Contents?: true

Size: 671 Bytes

Versions: 15

Compression:

Stored size: 671 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

15 entries across 15 versions & 1 rubygems

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