From: Anton Khorev Date: Thu, 2 Jan 2025 07:00:21 +0000 (+0300) Subject: Remove test_logout_removes_session_token X-Git-Tag: live~109^2 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/6f4b06df70520e68fecf2170ed91a8ab9b2f1f0e?ds=sidebyside;hp=d38f6484e1aa201284b7eac19dbcc7fad856b88a Remove test_logout_removes_session_token --- diff --git a/test/controllers/sessions_controller_test.rb b/test/controllers/sessions_controller_test.rb index f490b748c..442aa81ad 100644 --- a/test/controllers/sessions_controller_test.rb +++ b/test/controllers/sessions_controller_test.rb @@ -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