mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-24 05:38:52 +00:00
Ensure both email formats contain url
This commit is contained in:
@@ -81,6 +81,7 @@ RSpec.describe Spree::UserMailer do
|
||||
|
||||
context 'body includes' do
|
||||
it 'password reset url' do
|
||||
expect(mail.text_part.body).to include spree.edit_spree_user_password_url
|
||||
expect(mail.html_part.body).to include spree.edit_spree_user_password_url
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user