Methods
T
Instance Public methods
test_use_route()
# File actionpack/test/controller/test_case_test.rb, line 843
def test_use_route
  with_routing do |set|
    set.draw { mount Engine => '/foo' }

    assert_deprecated { get :index, use_route: :foo }
    assert_equal @response.body, 'bar'
  end
end