mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:33:24 +08: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…
Reference in New Issue
Block a user