diff options
author | Joao Carlos <mail@joao-carlos.com> | 2010-01-09 03:51:31 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-01-10 12:49:31 +0100 |
commit | 36969c6ecd69fc285bf0267805152319a4b71ceb (patch) | |
tree | 9fcfddd7a340bc6e8fc44b00fefedafd8a774417 /actionpack/test/dispatch | |
parent | d2c4a93c6966cb06d6029f9f4dbe5f71a52a02db (diff) | |
download | rails-36969c6ecd69fc285bf0267805152319a4b71ceb.tar.gz rails-36969c6ecd69fc285bf0267805152319a4b71ceb.tar.bz2 rails-36969c6ecd69fc285bf0267805152319a4b71ceb.zip |
Fixes namespaced routes [#3673 status:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'actionpack/test/dispatch')
-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 32e2717789..952cdb1098 100644 --- a/actionpack/test/dispatch/routing_test.rb +++ b/actionpack/test/dispatch/routing_test.rb @@ -432,15 +432,15 @@ class TestRoutingMapper < ActionDispatch::IntegrationTest def test_account_namespace with_test_routes do get '/account/subscription' - assert_equal 'subscriptions#show', @response.body + assert_equal 'account/subscriptions#show', @response.body assert_equal '/account/subscription', account_subscription_path get '/account/credit' - assert_equal 'credits#show', @response.body + assert_equal 'account/credits#show', @response.body assert_equal '/account/credit', account_credit_path get '/account/credit_card' - assert_equal 'credit_cards#show', @response.body + assert_equal 'account/credit_cards#show', @response.body assert_equal '/account/credit_card', account_credit_card_path end end |