summaryrefslogtreecommitdiff
path: root/spec/features/projects/members
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2019-04-12 10:50:24 +0200
committerRémy Coutable <remy@rymai.me>2019-04-12 10:50:33 +0200
commit5f36bb928bf448a30436c978cf6dc7a85f98dbf2 (patch)
tree3fc32559d793d6798dbf7c00bbc2db9306bb2feb /spec/features/projects/members
parentf766f7afe4dd303854b7453734984b0ff8c8b3a7 (diff)
downloadgitlab-ce-5f36bb928bf448a30436c978cf6dc7a85f98dbf2.tar.gz
Fix a few specs after updating capybara and selenium-webdriver
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/features/projects/members')
-rw-r--r--spec/features/projects/members/user_requests_access_spec.rb3
1 files changed, 2 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 50ba67f0ffc..f26941ab567 100644
--- a/spec/features/projects/members/user_requests_access_spec.rb
+++ b/spec/features/projects/members/user_requests_access_spec.rb
@@ -62,8 +62,9 @@ describe 'Projects > Members > User requests access', :js do
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.'
+ expect(page).not_to have_content 'Withdraw Access Request'
+ expect(page).to have_content 'Request Access'
end
def open_project_settings_menu