From b149f9554b60e3a644fd50580e748fef758776a9 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Thu, 26 Jul 2007 16:19:08 +0000 Subject: [PATCH] ActionItem9: commenting test for unused feature "remember me" --- test/functional/account_controller_test.rb | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index dccf571..09bde5b 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -91,12 +91,13 @@ class AccountControllerTest < Test::Unit::TestCase assert_equal @response.cookies["auth_token"], [] end - def test_should_login_with_cookie - users(:johndoe).remember_me - @request.cookies["auth_token"] = cookie_for(:johndoe) - get :index - assert @controller.send(:logged_in?) - end + # "remember_me" feature is disabled; uncommend this if it is enabled again. + # def test_should_login_with_cookie + # users(:johndoe).remember_me + # @request.cookies["auth_token"] = cookie_for(:johndoe) + # get :index + # assert @controller.send(:logged_in?) + # end def test_should_fail_expired_cookie_login users(:johndoe).remember_me -- libgit2 0.21.2