diff --git a/spec/system/email_change_spec.rb b/spec/system/email_change_spec.rb index a2683fc5b3d..1d198370a14 100644 --- a/spec/system/email_change_spec.rb +++ b/spec/system/email_change_spec.rb @@ -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