This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
with_routing()
public
A helper to make it easier to test different route configurations. This
method temporarily replaces ActionController::Routing::Routes with a new
RouteSet instance.
The new instance is yielded to the passed block. Typically the block will
create some routes using map.draw { map.connect ... }: