From 84fe74e8c9dbe1f27d7fc1fa5cb2244e50b90c5c Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Tue, 18 Jun 2024 05:46:22 +0000 Subject: [PATCH] Fix up test to match wording change in email --- spec/features/user_sign_up_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/user_sign_up_spec.rb b/spec/features/user_sign_up_spec.rb index 8b7bd24a4..80bcb8c2c 100644 --- a/spec/features/user_sign_up_spec.rb +++ b/spec/features/user_sign_up_spec.rb @@ -98,7 +98,7 @@ # TODO: The subject line should be changed to "Planning Alerts" in /app/config/locales/devise.en.yml # Do this after we've completely moved over to the new theme expect(current_email).to have_subject("PlanningAlerts: Reset password instructions") - expect(current_email.default_part_body.to_s).to include("Please click the button below and follow the instructions") + expect(current_email.default_part_body.to_s).to include("Thanks for confirming you are you") end describe "clicking the link in the email" do