diff --git a/spec/mailers/order_mailer_spec.rb b/spec/mailers/order_mailer_spec.rb index 345ad9247a..020f54c3b8 100644 --- a/spec/mailers/order_mailer_spec.rb +++ b/spec/mailers/order_mailer_spec.rb @@ -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 diff --git a/spec/mailers/subscription_mailer_spec.rb b/spec/mailers/subscription_mailer_spec.rb index aca63f8f58..9653423b9a 100644 --- a/spec/mailers/subscription_mailer_spec.rb +++ b/spec/mailers/subscription_mailer_spec.rb @@ -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