diff options
Diffstat (limited to 'spec/mailers/emails/in_product_marketing_spec.rb')
-rw-r--r-- | spec/mailers/emails/in_product_marketing_spec.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/spec/mailers/emails/in_product_marketing_spec.rb b/spec/mailers/emails/in_product_marketing_spec.rb index 7c21e161ffe..5419c9e6798 100644 --- a/spec/mailers/emails/in_product_marketing_spec.rb +++ b/spec/mailers/emails/in_product_marketing_spec.rb @@ -10,11 +10,7 @@ RSpec.describe Emails::InProductMarketing do let_it_be(:user) { create(:user) } shared_examples 'has custom headers when on gitlab.com' do - context 'when on gitlab.com' do - before do - allow(Gitlab).to receive(:com?).and_return(true) - end - + context 'when on gitlab.com', :saas do it 'has custom headers' do aggregate_failures do expect(subject).to deliver_from(described_class::FROM_ADDRESS) |