method

with_routing

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

with_routing(&block)
public

No documentation available.

# File actionpack/lib/action_dispatch/testing/assertions/routing.rb, line 37
        def with_routing(&block)
          old_routes = app.routes
          old_integration_session = integration_session
          create_routes(&block)
        ensure
          reset_routes(old_routes, old_integration_session)
        end