1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

test-case => failing

This commit is contained in:
Yves Senn 2013-03-22 16:25:27 +01:00 committed by Andrew White
parent d6bc2fa5a9
commit 55d9176b4a

View file

@ -1253,6 +1253,19 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest
assert_equal 'api/v3/products#list', @response.body
end
def test_controller_option_with_nesting_and_leading_slash
draw do
scope '/job', controller: 'job' do
scope ':id', action: 'manage_applicant' do
get "/active"
end
end
end
get '/job/5/active'
assert_equal 'job#manage_applicant', @response.body
end
def test_dynamically_generated_helpers_on_collection_do_not_clobber_resources_url_helper
draw do
resources :replies do