Improve confirmation instructions texts

The texts for the confirmation instructions referred to "reset the password".
We have updated the texts to refer to confirmation instructions.
This commit is contained in:
taitus
2022-03-29 08:15:18 +02:00
parent f4887089bd
commit d0571a4a73
3 changed files with 8 additions and 10 deletions

View File

@@ -594,9 +594,8 @@ describe "Users" do
fill_in "Email", with: "manuela@consul.dev"
click_button "Re-send instructions"
expect(page).to have_content "If your email address is in our database, in a few minutes you "\
"will receive an email containing instructions on how to reset "\
"your password."
expect(page).to have_content "If your email address exists in our database, in a few minutes you will "\
"receive an email with instructions on how to confirm your email address."
end
scenario "Re-send confirmation instructions with unexisting email" do
@@ -607,9 +606,8 @@ describe "Users" do
fill_in "Email", with: "fake@mail.dev"
click_button "Re-send instructions"
expect(page).to have_content "If your email address is in our database, in a few minutes you "\
"will receive an email containing instructions on how to reset "\
"your password."
expect(page).to have_content "If your email address exists in our database, in a few minutes you will "\
"receive an email with instructions on how to confirm your email address."
end
scenario "Sign in, admin with password expired" do