mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 17:59:20 +00:00
DEV: Clean up authenticator in email_change_spec (#25521)
This commit is contained in:
parent
f72ba754f1
commit
02953ec5fa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user