--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: temporary_routes
comment: 
- !ruby/struct:SM::Flow::P 
  body: A helper to make it easier to test different route configurations. This method temporarily replaces ActionController::Routing::Routes with a new RouteSet instance.
- !ruby/struct:SM::Flow::P 
  body: "The new instance is yielded to the passed block. Typically the block will create some routes using <tt>map.draw { map.connect ... }</tt>:"
- !ruby/struct:SM::Flow::VERB 
  body: "  with_routing do |set|\n    set.draw do |map|\n      map.connect ':controller/:action/:id'\n        assert_equal(\n          ['/content/10/show', {}],\n          map.generate(:controller =&gt; 'content', :id =&gt; 10, :action =&gt; 'show')\n      end\n    end\n  end\n"
full_name: ActionController::TestProcess#with_routing
is_singleton: false
name: with_routing
params: () {|temporary_routes| ...}
visibility: public
