mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
Asserts that the order cancellation email for shops has the customer's email as reply to address
This commit is contained in:
@@ -150,6 +150,10 @@ RSpec.describe Spree::OrderMailer do
|
||||
it "includes a link to the cancelled order in admin" do
|
||||
expect(mail.body).to match /#{admin_order_link_href}/
|
||||
end
|
||||
|
||||
it "sets a reply-to of the customer email" do
|
||||
expect(mail.reply_to).to eq([order.email])
|
||||
end
|
||||
end
|
||||
|
||||
describe "order confimation" do
|
||||
|
||||
Reference in New Issue
Block a user