diff --git a/spec/features/consumer/authentication_spec.rb b/spec/features/consumer/authentication_spec.rb index 204b8c3b9b..50c9974a49 100644 --- a/spec/features/consumer/authentication_spec.rb +++ b/spec/features/consumer/authentication_spec.rb @@ -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