summaryrefslogtreecommitdiff
path: root/features/steps/profile
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-08 20:52:22 -0700
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-03-08 20:52:22 -0700
commit7e4258777f8eed31cfe202bb96178823218f3b1c (patch)
treed908f55aa559721914d16ef4d9f1b301e5da10bd /features/steps/profile
parent9b3e156e43b8a14e4eb294a47bda6a477c8573b0 (diff)
downloadgitlab-ce-7e4258777f8eed31cfe202bb96178823218f3b1c.tar.gz
Move Profile groups tests to Dashboard group tests
Diffstat (limited to 'features/steps/profile')
-rw-r--r--features/steps/profile/group.rb44
1 files changed, 0 insertions, 44 deletions
diff --git a/features/steps/profile/group.rb b/features/steps/profile/group.rb
deleted file mode 100644
index 0a10e04e219..00000000000
--- a/features/steps/profile/group.rb
+++ /dev/null
@@ -1,44 +0,0 @@
-class Spinach::Features::ProfileGroup < Spinach::FeatureSteps
- include SharedAuthentication
- include SharedGroup
- 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
- find(:css, 'li', text: "Owner").should_not 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
- find(:css, 'li', text: "Guest").should_not have_selector(:css, 'i.fa.fa-sign-out')
- # poltergeist always confirms popups.
- end
-
- step 'I should see group "Owned" in group list' do
- page.should have_content("Owned")
- end
-
- step 'I should not see group "Owned" in group list' do
- page.should_not have_content("Owned")
- end
-
- step 'I should see group "Guest" in group list' do
- page.should have_content("Guest")
- end
-
- step 'I should not see group "Guest" in group list' do
- page.should_not have_content("Guest")
- end
-end