diff options
author | Rémy Coutable <remy@rymai.me> | 2017-01-13 04:53:11 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-01-13 04:53:11 +0000 |
commit | ed85fdb218970497c212731ddc21ee53b1678346 (patch) | |
tree | 5e38bab575e5680204086307cfe372f76cdb966c /features/steps | |
parent | f20d3cb3faa31c70be0f4d7b6e1428d142b8a48f (diff) | |
parent | e393151d76c5847de46e8d956e6c5947e321e156 (diff) | |
download | gitlab-ce-ed85fdb218970497c212731ddc21ee53b1678346.tar.gz |
Merge branch 'move-dashboard-archived-projects-spinach-to-rspec' into 'master'
Move dashboard archived projects spinach tests to rspec
See merge request !8431
Diffstat (limited to 'features/steps')
-rw-r--r-- | features/steps/dashboard/archived_projects.rb | 26 |
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 |