diff options
author | José Valim <jose.valim@gmail.com> | 2010-08-24 13:05:29 -0300 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-08-24 13:05:29 -0300 |
commit | 2916521da825d5a0b93eb1cb86f12946e9345e29 (patch) | |
tree | 89b05872fc1db6b850c3d4d65aa6af7ce6985b4a /actionpack/test | |
parent | 4df19b3f27c93e0a3091c176536fa119ea03ebb7 (diff) | |
download | rails-2916521da825d5a0b93eb1cb86f12946e9345e29.tar.gz rails-2916521da825d5a0b93eb1cb86f12946e9345e29.tar.bz2 rails-2916521da825d5a0b93eb1cb86f12946e9345e29.zip |
Fix how routes inside namespaces are generated.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/routing_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/dispatch/routing_test.rb b/actionpack/test/dispatch/routing_test.rb index 3f51798285..963fea01d6 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -660,7 +660,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest get '/bookmark/remove' assert_equal 'bookmarks#destroy', @response.body - assert_equal '/bookmark/remove', remove_bookmark_path + assert_equal '/bookmark/remove', bookmark_remove_path end end @@ -1195,7 +1195,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest def test_match_shorthand_inside_namespace with_test_routes do - assert_equal '/account/shorthand', shorthand_account_path + assert_equal '/account/shorthand', account_shorthand_path get '/account/shorthand' assert_equal 'account#shorthand', @response.body end @@ -1247,7 +1247,7 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest def test_normalize_namespaced_matches with_test_routes do - assert_equal '/account/description', description_account_path + assert_equal '/account/description', account_description_path get '/account/description' assert_equal 'account#description', @response.body |