DEV: Clean up authenticator in email_change_spec (#25521)

This commit is contained in:
David Taylor 2024-02-01 14:11:18 +00:00 committed by GitHub
parent f72ba754f1
commit 02953ec5fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -97,6 +97,8 @@ describe "Changing email", type: :system do
try_until_success { expect(current_url).to match("/u/#{user.username}/preferences/account") }
expect(user.reload.email).to eq(new_email)
ensure
authenticator.remove!
end
it "does not require login to verify" do