diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-03 00:09:22 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-04-03 00:09:22 +0300 |
commit | 65be6f9dd4d92590294f18c6212a075585467f6d (patch) | |
tree | 4d59ef2507b490450379b0954be041c7beca826d /spec/mailers | |
parent | fee10148072e2e96d14034f099985a441a844c6e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/mailers')
-rw-r--r-- | spec/mailers/notify_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mailers/notify_spec.rb b/spec/mailers/notify_spec.rb index 4d65a312832..94a081ae0c9 100644 --- a/spec/mailers/notify_spec.rb +++ b/spec/mailers/notify_spec.rb @@ -799,14 +799,14 @@ RSpec.describe Notify do is_expected.to have_link('Join now', href: invite_url(project_member.invite_token, invite_type: Members::InviteEmailExperiment::INVITE_TYPE)) end - it 'contains invite link for the avatar', :experiment do + it 'contains invite link for the avatar' 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 + it 'contains invite link for the avatar' do stub_experiments('members/invite_email': :permission_info) is_expected.not_to have_content('You are invited!') |