Update specs

This commit is contained in:
Konrad
2025-03-18 15:18:49 +01:00
parent db3a8a6b30
commit 9ee37ee0b6
2 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ RSpec.describe Spree::OrderMailer do
end
it "display the OFN header by default" do
expect(email.body).to include(ContentConfig.url_for(:footer_logo))
expect(email.body).to include(ContentConfig.url_for(:logo))
end
context 'when hide OFN navigation is enabled for the distributor of the order' do
@@ -55,7 +55,7 @@ RSpec.describe Spree::OrderMailer do
end
it 'does not display the OFN navigation' do
expect(email.body).not_to include(ContentConfig.url_for(:footer_logo))
expect(email.body).not_to include(ContentConfig.url_for(:logo))
end
end
end

View File

@@ -117,7 +117,7 @@ RSpec.describe SubscriptionMailer, type: :mailer do
end
it "display the OFN header by default" do
expect(email.body).to include(ContentConfig.url_for(:footer_logo))
expect(email.body).to include(ContentConfig.url_for(:logo))
end
describe "linking to order page" do
@@ -162,7 +162,7 @@ RSpec.describe SubscriptionMailer, type: :mailer do
end
it 'does not display the OFN navigation' do
expect(email.body).not_to include(ContentConfig.url_for(:footer_logo))
expect(email.body).not_to include(ContentConfig.url_for(:logo))
end
end
end