summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-07-01 08:56:33 +0200
committerAzul <azul@leap.se>2013-07-01 08:56:33 +0200
commit7ce929161604f6ee5b156b4e039bab1edcbf48ad (patch)
tree2a7d4ea5f92c896071ab1f71a4bfd845ea61a790
parent4f6e81a2d87bc22089536e3af48f45e8ecee68c8 (diff)
redirect to root_path after canceling account
login makes little sense. This change was applied already... just updated the test
-rw-r--r--users/test/functional/users_controller_test.rb2
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