summaryrefslogtreecommitdiff
path: root/spec/features/projects/members/user_requests_access_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/members/user_requests_access_spec.rb')
-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 0fbe1ddb2a5..4eb36156812 100644
--- a/spec/features/projects/members/user_requests_access_spec.rb
+++ b/spec/features/projects/members/user_requests_access_spec.rb
@@ -60,7 +60,7 @@ feature 'Projects > Members > User requests access', :js do
expect(project.requesters.exists?(user_id: user)).to be_truthy
- click_link 'Withdraw Access Request'
+ accept_confirm { click_link 'Withdraw Access Request' }
expect(project.requesters.exists?(user_id: user)).to be_falsey
expect(page).to have_content 'Your access request to the project has been withdrawn.'