diff options
author | Azul <azul@leap.se> | 2013-07-01 08:56:33 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-07-01 08:56:33 +0200 |
commit | 7ce929161604f6ee5b156b4e039bab1edcbf48ad (patch) | |
tree | 2a7d4ea5f92c896071ab1f71a4bfd845ea61a790 /users/test/functional/users_controller_test.rb | |
parent | 4f6e81a2d87bc22089536e3af48f45e8ecee68c8 (diff) |
redirect to root_path after canceling account
login makes little sense. This change was applied already... just updated the test
Diffstat (limited to 'users/test/functional/users_controller_test.rb')
-rw-r--r-- | users/test/functional/users_controller_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/users/test/functional/users_controller_test.rb b/users/test/functional/users_controller_test.rb index fd8869a..7f81c59 100644 --- a/users/test/functional/users_controller_test.rb +++ b/users/test/functional/users_controller_test.rb @@ -162,7 +162,7 @@ class UsersControllerTest < ActionController::TestCase delete :destroy, :id => @current_user.id assert_response :redirect - assert_redirected_to login_path + assert_redirected_to root_path end test "non-admin can't destroy user" do |