From 7ce929161604f6ee5b156b4e039bab1edcbf48ad Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 1 Jul 2013 08:56:33 +0200 Subject: redirect to root_path after canceling account login makes little sense. This change was applied already... just updated the test --- users/test/functional/users_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'users/test') 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 -- cgit v1.2.3