diff options
author | Phil Hughes <me@iamphill.com> | 2017-08-18 12:07:10 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-08-29 15:37:07 +0100 |
commit | d92bff4eaef9ef519ab34161426f1f9afb6fecb2 (patch) | |
tree | 87d94276a4ebcf33cd6623d56ae40b73ba5b95e5 /spec/features/dashboard | |
parent | 4a67699e6e115aab3a26eee63f1f6ded4081ccd5 (diff) | |
download | gitlab-ce-d92bff4eaef9ef519ab34161426f1f9afb6fecb2.tar.gz |
more spec fixes
Diffstat (limited to 'spec/features/dashboard')
-rw-r--r-- | spec/features/dashboard/active_tab_spec.rb | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/spec/features/dashboard/active_tab_spec.rb b/spec/features/dashboard/active_tab_spec.rb index 5a46675e59f..08d8cc7922b 100644 --- a/spec/features/dashboard/active_tab_spec.rb +++ b/spec/features/dashboard/active_tab_spec.rb @@ -20,27 +20,19 @@ RSpec.describe 'Dashboard Active Tab', js: true do it_behaves_like 'page has active tab', 'Projects' end - context 'on dashboard issues' do - before do - visit issues_dashboard_path - end - - it_behaves_like 'page has active tab', 'Issues' - end - - context 'on dashboard merge requests' do + context 'on dashboard groups' do before do - visit merge_requests_dashboard_path + visit dashboard_groups_path end - it_behaves_like 'page has active tab', 'Merge Requests' + it_behaves_like 'page has active tab', 'Groups' end - context 'on dashboard groups' do + context 'on activity projects' do before do - visit dashboard_groups_path + visit activity_dashboard_path end - it_behaves_like 'page has active tab', 'Groups' + it_behaves_like 'page has active tab', 'Activity' end end |