summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorSemyon Pupkov <mail@semyonpupkov.com>2017-01-04 13:30:11 +0500
committerSemyon Pupkov <mail@semyonpupkov.com>2017-01-04 13:30:11 +0500
commite393151d76c5847de46e8d956e6c5947e321e156 (patch)
tree7caeb9fba4538fad20c10baa55cbf493a025eae5 /features/steps
parent115aac77f614a9130aa9bc6ff48aed47339aebfc (diff)
downloadgitlab-ce-e393151d76c5847de46e8d956e6c5947e321e156.tar.gz
Move dashboard archived projects spinach tests to rspec
https://gitlab.com/gitlab-org/gitlab-ce/issues/23036
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/dashboard/archived_projects.rb26
1 files changed, 0 insertions, 26 deletions
diff --git a/features/steps/dashboard/archived_projects.rb b/features/steps/dashboard/archived_projects.rb
deleted file mode 100644
index 6510f8d9b32..00000000000
--- a/features/steps/dashboard/archived_projects.rb
+++ /dev/null
@@ -1,26 +0,0 @@
-class Spinach::Features::DashboardArchivedProjects < Spinach::FeatureSteps
- include SharedAuthentication
- include SharedPaths
- include SharedProject
-
- When 'project "Forum" is archived' do
- project = Project.find_by(name: "Forum")
- project.update_attribute(:archived, true)
- end
-
- step 'I should see "Shop" project link' do
- expect(page).to have_link "Shop"
- end
-
- step 'I should not see "Forum" project link' do
- expect(page).not_to have_link "Forum"
- end
-
- step 'I should see "Forum" project link' do
- expect(page).to have_link "Forum"
- end
-
- step 'I click "Show archived projects" link' do
- click_link "Show archived projects"
- end
-end