diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-12-25 09:34:01 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-12-25 09:34:01 +0000 |
commit | 64799454a2186596c70324db2958d0fc231d6f1b (patch) | |
tree | 10f88f448ec717a572c4a0d55b2d672494d4478a /actionpack/test/controller/test_test.rb | |
parent | c6b4c8d240abbca0d1e62b3544fafda77c40de0c (diff) | |
download | rails-64799454a2186596c70324db2958d0fc231d6f1b.tar.gz rails-64799454a2186596c70324db2958d0fc231d6f1b.tar.bz2 rails-64799454a2186596c70324db2958d0fc231d6f1b.zip |
Fix assert_redirected_to bug where redirecting from a nested to to a top-level controller incorrectly added the current controller's nesting. Closes #6128. [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5785 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/test_test.rb')
-rw-r--r-- | actionpack/test/controller/test_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/test_test.rb b/actionpack/test/controller/test_test.rb index bc2651c281..2b0086c5f4 100644 --- a/actionpack/test/controller/test_test.rb +++ b/actionpack/test/controller/test_test.rb @@ -86,7 +86,7 @@ HTML @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new ActionController::Routing::Routes.reload - ActionController::Routing.use_controllers! %w(content admin/user) + ActionController::Routing.use_controllers! %w(content admin/user test_test/test) end def teardown |