Commit b149f9554b60e3a644fd50580e748fef758776a9
1 parent
aed21555
Exists in
master
and in
29 other branches
ActionItem9: commenting test for unused feature "remember me"
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@171 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
7 additions
and
6 deletions
Show diff stats
test/functional/account_controller_test.rb
@@ -91,12 +91,13 @@ class AccountControllerTest < Test::Unit::TestCase | @@ -91,12 +91,13 @@ class AccountControllerTest < Test::Unit::TestCase | ||
91 | assert_equal @response.cookies["auth_token"], [] | 91 | assert_equal @response.cookies["auth_token"], [] |
92 | end | 92 | end |
93 | 93 | ||
94 | - def test_should_login_with_cookie | ||
95 | - users(:johndoe).remember_me | ||
96 | - @request.cookies["auth_token"] = cookie_for(:johndoe) | ||
97 | - get :index | ||
98 | - assert @controller.send(:logged_in?) | ||
99 | - end | 94 | + # "remember_me" feature is disabled; uncommend this if it is enabled again. |
95 | + # def test_should_login_with_cookie | ||
96 | + # users(:johndoe).remember_me | ||
97 | + # @request.cookies["auth_token"] = cookie_for(:johndoe) | ||
98 | + # get :index | ||
99 | + # assert @controller.send(:logged_in?) | ||
100 | + # end | ||
100 | 101 | ||
101 | def test_should_fail_expired_cookie_login | 102 | def test_should_fail_expired_cookie_login |
102 | users(:johndoe).remember_me | 103 | users(:johndoe).remember_me |