Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-26 15:12:11 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-26 15:12:11 +0300
commit0594381ba711725d7d676db202902dfcbe9ec4a0 (patch)
tree9922e6dcee0fae9c04539f3763a8b5314c1060c4 /spec/mailers
parente48c28ed86567f049865a590fdda4569a760ee1f (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/emails/in_product_marketing_spec.rb7
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