Skip to content

Commit

Permalink
Third party accounds still need to be confirmed
Browse files Browse the repository at this point in the history
  • Loading branch information
zwolf committed Dec 5, 2023
1 parent 0066050 commit 6fc8ac2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/controllers/passwords_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6fc8ac2

Please sign in to comment.