summaryrefslogtreecommitdiff
path: root/spec/features/projects/members
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-16 15:12:47 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-16 15:12:47 +0000
commit49769473ab2fc0471853ada294c2f9a66f25f048 (patch)
tree90c5c0e34808f05a1e655b2855277cd635fb5c75 /spec/features/projects/members
parent4c16d4ff4f92987f609e9853da5900a51f0ad1be (diff)
downloadgitlab-ce-49769473ab2fc0471853ada294c2f9a66f25f048.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/members')
-rw-r--r--spec/features/projects/members/user_requests_access_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/projects/members/user_requests_access_spec.rb b/spec/features/projects/members/user_requests_access_spec.rb
index 94543290050..113ba692497 100644
--- a/spec/features/projects/members/user_requests_access_spec.rb
+++ b/spec/features/projects/members/user_requests_access_spec.rb
@@ -23,7 +23,7 @@ RSpec.describe 'Projects > Members > User requests access', :js do
it 'user can request access to a project' do
perform_enqueued_jobs { click_link 'Request Access' }
- expect(ActionMailer::Base.deliveries.last.to).to eq [maintainer.notification_email]
+ expect(ActionMailer::Base.deliveries.last.to).to eq [maintainer.notification_email_or_default]
expect(ActionMailer::Base.deliveries.last.subject).to eq "Request to join the #{project.full_name} project"
expect(project.requesters.exists?(user_id: user)).to be_truthy