diff options
author | Douwe Maan <douwe@gitlab.com> | 2017-08-24 10:48:59 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2017-08-24 10:48:59 +0000 |
commit | 43238a40abb5602fdbf82492faf8041af01139a5 (patch) | |
tree | 530528aad43125c7cca3fffc8153250306f58bfd /spec/features/dashboard | |
parent | 1957099b4d3451276302bf8f22d98d230ab14e55 (diff) | |
parent | 55f4ddad2b765f3b7466af5b43ef319a330c9fcd (diff) | |
download | gitlab-ce-43238a40abb5602fdbf82492faf8041af01139a5.tar.gz |
Merge branch 'archived-projects-only' into 'master'
Add an option to list only archived projects
Closes #35994
See merge request !13492
Diffstat (limited to 'spec/features/dashboard')
-rw-r--r-- | spec/features/dashboard/archived_projects_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/features/dashboard/archived_projects_spec.rb b/spec/features/dashboard/archived_projects_spec.rb index 814ec0e59c7..e8d699ff5e0 100644 --- a/spec/features/dashboard/archived_projects_spec.rb +++ b/spec/features/dashboard/archived_projects_spec.rb @@ -26,6 +26,13 @@ RSpec.describe 'Dashboard Archived Project' do expect(page).to have_link(archived_project.name) end + it 'renders only archived projects' do + click_link 'Show archived projects only' + + expect(page).to have_content(archived_project.name) + expect(page).not_to have_content(project.name) + end + it 'searchs archived projects', :js do click_button 'Last updated' click_link 'Show archived projects' |