Improve specificity of expectation in reset password email test

This commit is contained in:
Matt-Yorkley
2020-11-20 21:28:08 +00:00
parent d2998f1190
commit 2b2f1ac0cd

View File

@@ -105,6 +105,8 @@ feature "Authentication", js: true do
click_reset_password_button
expect(page).to have_reset_password
end.to enqueue_job ActionMailer::DeliveryJob
expect(enqueued_jobs.last.to_s).to match "reset_password_instructions"
end
context "user with unconfirmed email" do