Skip to content

Commit e79ff3e

Browse files
committed
Adjust content expectation for admin/password_reset spec
PR #156 changed the I18n value for the text shown when an admin resets their password
1 parent 300bffc commit e79ff3e

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

spec/features/admin/password_reset_spec.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ def fill_in_email
6868
end
6969

7070
click_button 'Reset password'
71-
expect(page).to have_content 'You will receive an email with instructions on how to reset your password in a few minutes.'
71+
expect(page).to have_content(
72+
'If an account with that email address exists,
73+
you will receive an email with instructions about
74+
how to reset your password in a few minutes.'
75+
)
7276
end
7377
end
7478
end

0 commit comments

Comments
 (0)