diff options
author | Rémy Coutable <remy@rymai.me> | 2016-06-20 12:36:59 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-06-20 12:36:59 +0200 |
commit | 909a0ff3ace1eb82a4296764777a552779c39839 (patch) | |
tree | ab1056b0443b64d5f95eeacaef92b0172c51df94 /features/steps | |
parent | bf05ca88eefb38bb52fb6e31622f9c1a795965e3 (diff) | |
download | gitlab-ce-909a0ff3ace1eb82a4296764777a552779c39839.tar.gz |
Fix and remove duplicate specs18755-fix-destroy-project-causes-post_decline_request-to-be-executed
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/dashboard/group.rb | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/features/steps/dashboard/group.rb b/features/steps/dashboard/group.rb index 9b79a3be49b..cf679fea530 100644 --- a/features/steps/dashboard/group.rb +++ b/features/steps/dashboard/group.rb @@ -4,44 +4,6 @@ class Spinach::Features::DashboardGroup < Spinach::FeatureSteps include SharedPaths include SharedUser - # Leave - - step 'I click on the "Leave" button for group "Owned"' do - find(:css, 'li', text: "Owner").find(:css, 'i.fa.fa-sign-out').click - # poltergeist always confirms popups. - end - - step 'I click on the "Leave" button for group "Guest"' do - find(:css, 'li', text: "Guest").find(:css, 'i.fa.fa-sign-out').click - # poltergeist always confirms popups. - end - - step 'I should not see the "Leave" button for group "Owned"' do - expect(find(:css, 'li', text: "Owner")).not_to have_selector(:css, 'i.fa.fa-sign-out') - # poltergeist always confirms popups. - end - - step 'I should not see the "Leave" button for groupr "Guest"' do - expect(find(:css, 'li', text: "Guest")).not_to have_selector(:css, 'i.fa.fa-sign-out') - # poltergeist always confirms popups. - end - - step 'I should see group "Owned" in group list' do - expect(page).to have_content("Owned") - end - - step 'I should not see group "Owned" in group list' do - expect(page).not_to have_content("Owned") - end - - step 'I should see group "Guest" in group list' do - expect(page).to have_content("Guest") - end - - step 'I should not see group "Guest" in group list' do - expect(page).not_to have_content("Guest") - end - step 'I click new group link' do click_link "New Group" end @@ -60,8 +22,4 @@ class Spinach::Features::DashboardGroup < Spinach::FeatureSteps expect(page).to have_content "Samurai" expect(page).to have_content "Tokugawa Shogunate" end - - step 'I should see the "Can not leave message"' do - expect(page).to have_content "You can not leave the \"Owned\" group." - end end |