Namespace
Methods
- B
- S
Instance Public methods
before_setup()
Link
setup()
Link
# File actionpack/test/controller/test_case_test.rb, line 1034 def setup super @controller = TestController.new @request.env['PATH_INFO'] = nil @routes = ActionDispatch::Routing::RouteSet.new.tap do |r| r.draw do ActiveSupport::Deprecation.silence do get ':controller(/:action(/:id))' end end end end