summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2017-01-04 15:27:29 +0500
committerSemyon Pupkov <mail@semyonpupkov.com>2017-01-04 15:31:16 +0500
commit65b1ea3ba574c2283fa5a4a744861d8f78a992f8 (patch)
treeb47d61834bb827a3961d6fb9b8a1c30dd29d505c /features/steps
parent115aac77f614a9130aa9bc6ff48aed47339aebfc (diff)
downloadgitlab-ce-65b1ea3ba574c2283fa5a4a744861d8f78a992f8.tar.gz
Move dashboard group spinach test to rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/dashboard/group.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/features/steps/dashboard/group.rb b/features/steps/dashboard/group.rb
deleted file mode 100644
index cf679fea530..00000000000
--- a/features/steps/dashboard/group.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-class Spinach::Features::DashboardGroup < Spinach::FeatureSteps
- include SharedAuthentication
- include SharedGroup
- include SharedPaths
- include SharedUser
-
- step 'I click new group link' do
- click_link "New Group"
- end
-
- step 'submit form with new group "Samurai" info' do
- fill_in 'group_path', with: 'Samurai'
- fill_in 'group_description', with: 'Tokugawa Shogunate'
- click_button "Create group"
- end
-
- step 'I should be redirected to group "Samurai" page' do
- expect(current_path).to eq group_path(Group.find_by(name: 'Samurai'))
- end
-
- step 'I should see newly created group "Samurai"' do
- expect(page).to have_content "Samurai"
- expect(page).to have_content "Tokugawa Shogunate"
- end
-end