summaryrefslogtreecommitdiff
path: root/users/test/functional/users_controller_test.rb
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2013-07-01 00:05:16 -0700
committerazul <azul@riseup.net>2013-07-01 00:05:16 -0700
commitd03e82b4df5075f796f56fb9568992b0ba0d7c07 (patch)
tree2067cef61d3bdfac3965ddd6c23c9614d1a46ac8 /users/test/functional/users_controller_test.rb
parent3ead553bdd6b28c8210d9dcb764db407ba580c23 (diff)
parent7ce929161604f6ee5b156b4e039bab1edcbf48ad (diff)
Merge pull request #53 from azul/bugfix/fix-cancel-account-test
redirect to root_path after canceling account
Diffstat (limited to 'users/test/functional/users_controller_test.rb')
-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