mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Makes the spec red: deletes file attachement from assertion
This commit is contained in:
@@ -252,7 +252,6 @@ describe SubscriptionMailer, type: :mailer do
|
||||
end
|
||||
|
||||
it "renders the shop's logo" do
|
||||
shop.update!(logo: fixture_file_upload("logo.png", "image/png"))
|
||||
SubscriptionMailer.placement_summary_email(summary).deliver_now
|
||||
expect(SubscriptionMailer.deliveries.last.body).to include "logo.png"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user