diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-28 06:10:02 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-28 06:10:02 +0300 |
commit | 6078d7becc4a0d70aafc4a3934a70b8cf2b3775e (patch) | |
tree | 559eacec9bf595379af871df24c48f957e7dd0bd /spec/mailers | |
parent | 7e0c60c6262353033f2768137866515c5257c2f7 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers')
-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) |