Sha256: 9badde5a6f0b6bf5455781659eb22a3dddb327c40889f450803b3b9d17dd5f2d

Contents?: true

Size: 602 Bytes

Versions: 24

Compression:

Stored size: 602 Bytes

Contents

module Shoulda
  module Matchers
    module Integrations
      module Libraries
        # @private
        class Routing
          Integrations.register_library(self, :routing)

          include Integrations::Inclusion
          include Integrations::Rails

          def integrate_with(test_framework)
            test_framework.include(matchers_module, type: :routing)

            include_into(::ActionController::TestCase, matchers_module)
          end

          private

          def matchers_module
            Shoulda::Matchers::Routing
          end
        end
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
shoulda-matchers-6.1.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-6.0.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-5.3.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-5.2.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-5.1.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-5.0.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-5.0.0.rc1 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.5.1 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.5.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.4.1 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.4.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.3.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.2.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.1.2 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.1.1 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.1.0 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.0.1 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-3.1.3 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-4.0.0.rc1 lib/shoulda/matchers/integrations/libraries/routing.rb
shoulda-matchers-3.1.2 lib/shoulda/matchers/integrations/libraries/routing.rb