class Shoulda::Matchers::Integrations::Libraries::Routing
@private
Public Instance Methods
Source
# File lib/shoulda/matchers/integrations/libraries/routing.rb, line 12 def integrate_with(test_framework) test_framework.include(matchers_module, type: :routing) tap do |instance| ActiveSupport.on_load(:action_controller_test_case, run_once: true) do instance.include_into(::ActionController::TestCase, instance.matchers_module) end end end
Source
# File lib/shoulda/matchers/integrations/libraries/routing.rb, line 22 def matchers_module Shoulda::Matchers::Routing end