diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-23 13:54:10 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-10-23 13:54:10 +0300 |
commit | df20c6fe46c14905f90fa92bbc88529106382988 (patch) | |
tree | 4c398b92f760a28abfa501d9d115376e4ea9dcb4 /spec/features/projects/members | |
parent | 519ffa1ebf6eff8c7fee1e7aa919b44c1acfeb36 (diff) | |
download | gitlab-ce-df20c6fe46c14905f90fa92bbc88529106382988.tar.gz |
add accept_confirm to spec
Diffstat (limited to 'spec/features/projects/members')
-rw-r--r-- | spec/features/projects/members/user_requests_access_spec.rb | 2 |
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.' |