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

@@ -8,7 +8,6 @@ describe '
' do
include AuthenticationHelper
include WebHelper
include OpenFoodNetwork::EmailHelper
context "as a site administrator" do
before { login_to_admin_section }
@@ -150,7 +149,6 @@ create(:enterprise)
end
xit "can invite unregistered users to be managers" do
setup_email
find('a.button.help-modal').click
expect(page).to have_css '#invite-manager-modal'

View File

@@ -8,7 +8,6 @@ describe "Managing users" do
context "as super-admin" do
before do
setup_email
login_as_admin
end