From 6fc8ac23431a58b0dff30efbcbeeb86788329874 Mon Sep 17 00:00:00 2001 From: Zach Wolfenbarger Date: Tue, 5 Dec 2023 15:24:28 -0600 Subject: [PATCH] Third party accounds still need to be confirmed --- spec/controllers/passwords_controller_spec.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spec/controllers/passwords_controller_spec.rb b/spec/controllers/passwords_controller_spec.rb index b5748eecc..2c33c1057 100644 --- a/spec/controllers/passwords_controller_spec.rb +++ b/spec/controllers/passwords_controller_spec.rb @@ -72,8 +72,9 @@ expect(response.status).to eq(200) end - it "should not send an email to the account email address" do - expect(ActionMailer::Base.deliveries).to be_empty + it 'should send confirmation instructions to the account email address' do + expect(ActionMailer::Base.deliveries).not_to be_empty + expect(ActionMailer::Base.deliveries.first.body).to include('confirm your account') end end