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-02-13 00:09:01 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-02-13 00:09:01 +0300
commiteef0c69d45082b370f1e41e50f12488a216944f2 (patch)
tree5c4a5c0e4db3fff89b9b4146b799e5de9dca57b9 /spec/mailers/notify_spec.rb
parent6d533fe8b44007d82b8de29a4b706da69e5f5936 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers/notify_spec.rb')
-rw-r--r--spec/mailers/notify_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb
index 110a13c2f54..89cf1aaedd2 100644
--- a/spec/mailers/notify_spec.rb
+++ b/spec/mailers/notify_spec.rb
@@ -912,6 +912,15 @@ RSpec.describe Notify do
stub_experiments('members/invite_email': :avatar)
is_expected.not_to have_content('You are invited!')
+ is_expected.not_to have_body_text 'What is a GitLab'
+ end
+
+ it 'contains invite link for the avatar', :experiment do
+ stub_experiments('members/invite_email': :permission_info)
+
+ is_expected.not_to have_content('You are invited!')
+ is_expected.to have_body_text 'What is a GitLab'
+ is_expected.to have_body_text 'What can I do with'
end
it 'has invite link for the control group' do