Skip to content

Commit

Permalink
Remove test_logout_removes_session_token
Browse files Browse the repository at this point in the history
  • Loading branch information
AntonKhorev committed Jan 2, 2025
1 parent d38f648 commit 6f4b06d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions test/controllers/sessions_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,4 @@ def test_logout_fallback_with_referer
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

0 comments on commit 6f4b06d

Please sign in to comment.