diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-26 12:12:11 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-10-26 12:12:11 +0000 |
commit | 0594381ba711725d7d676db202902dfcbe9ec4a0 (patch) | |
tree | 9922e6dcee0fae9c04539f3763a8b5314c1060c4 /spec/mailers | |
parent | e48c28ed86567f049865a590fdda4569a760ee1f (diff) | |
download | gitlab-ce-0594381ba711725d7d676db202902dfcbe9ec4a0.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/emails/in_product_marketing_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/mailers/emails/in_product_marketing_spec.rb b/spec/mailers/emails/in_product_marketing_spec.rb index c4ec4c84ff4..3b92b049e42 100644 --- a/spec/mailers/emails/in_product_marketing_spec.rb +++ b/spec/mailers/emails/in_product_marketing_spec.rb @@ -63,6 +63,7 @@ RSpec.describe Emails::InProductMarketing do :team_short | 0 :trial_short | 0 :admin_verify | 0 + :invite_team | 0 end with_them do @@ -92,6 +93,12 @@ RSpec.describe Emails::InProductMarketing do is_expected.not_to have_body_text(message.invite_text) is_expected.not_to have_body_text(CGI.unescapeHTML(message.invite_link)) end + + if track == :invite_team + is_expected.not_to have_body_text(/This is email \d of \d/) + else + is_expected.to have_body_text(message.progress) + end end end end |