]> git.openstreetmap.org Git - rails.git/commitdiff
Remove test_logout_removes_session_token
authorAnton Khorev <tony29@yandex.ru>
Thu, 2 Jan 2025 07:00:21 +0000 (10:00 +0300)
committerAnton Khorev <tony29@yandex.ru>
Thu, 2 Jan 2025 07:00:21 +0000 (10:00 +0300)
test/controllers/sessions_controller_test.rb

index f490b748c4a6c763699d2759909ba06f52944e69..442aa81add274df6468870da6e67c0a6cdb69c97 100644 (file)
@@ -95,12 +95,4 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
     assert_template "sessions/destroy"
     assert_select "input[name=referer][value=?]", "/test"
   end
-
-  def test_logout_removes_session_token
-    user = build(:user, :pending)
-    post user_new_path, :params => { :user => user.attributes }
-    post user_save_path, :params => { :read_ct => 1, :read_tou => 1 }
-    post logout_path
-    assert_redirected_to root_path
-  end
 end