module ActionDispatch::Assertions::RoutingAssertions
def reset_routes(old_routes, old_controller)
def reset_routes(old_routes, old_controller) @routes = old_routes if defined?(@controller) && @controller @controller = old_controller end end
def reset_routes(old_routes, old_controller) @routes = old_routes if defined?(@controller) && @controller @controller = old_controller end end