mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-15 04:14:24 +00:00
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:
@@ -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'
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ describe "Managing users" do
|
||||
|
||||
context "as super-admin" do
|
||||
before do
|
||||
setup_email
|
||||
login_as_admin
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user