diff options
author | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-11 11:09:17 +0200 |
---|---|---|
committer | Mehdi Lahmam <mehdi@lahmam.com> | 2017-08-24 10:11:07 +0200 |
commit | 55f4ddad2b765f3b7466af5b43ef319a330c9fcd (patch) | |
tree | bc8887523b41d3014efcaf0736ba33729cb6e1bb /spec/features/dashboard | |
parent | d184f27ed387c1a90a9f06f68eab801ec3bd89e3 (diff) | |
download | gitlab-ce-55f4ddad2b765f3b7466af5b43ef319a330c9fcd.tar.gz |
Add an option to list only archived projects
Closes #35994
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' |