    # File lib/action_controller/test_process.rb, line 485
        def with_routing
          real_routes = ActionController::Routing::Routes
          ActionController::Routing.send :remove_const, :Routes

          temporary_routes = ActionController::Routing::RouteSet.new
          ActionController::Routing.send :const_set, :Routes, temporary_routes

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