Remove useless test header setup for emails

Once upon a time we needed a helper to set the `from` header of emails.
This is now set in the ApplicationMailer and not necessary any more.
This commit is contained in:
Maikel Linke
2023-04-20 12:06:00 +10:00
parent 89cb3b7c14
commit 9998025687
22 changed files with 0 additions and 70 deletions

View File

@@ -4,7 +4,6 @@ require 'spec_helper'
describe Admin::SubscriptionsController, type: :controller do
include AuthenticationHelper
include OpenFoodNetwork::EmailHelper
describe 'index' do
let!(:user) { create(:user, enterprise_limit: 10) }
@@ -676,7 +675,6 @@ describe Admin::SubscriptionsController, type: :controller do
context "when at least one associate orders is 'canceled'" do
before do
setup_email
proxy_order.cancel
end