    # File lib/action_controller/test_process.rb, line 502
        def with_routing
          real_routes = ActionController::Routing::Routes
          ActionController::Routing.module_eval { remove_const :Routes }

          temporary_routes = ActionController::Routing::RouteSet.new
          ActionController::Routing.module_eval { const_set :Routes, temporary_routes }

          yield temporary_routes
        ensure
          if ActionController::Routing.const_defined? :Routes
            ActionController::Routing.module_eval { remove_const :Routes }
          end
          ActionController::Routing.const_set(:Routes, real_routes) if real_routes
        end