diff options
author | Sean McGivern <sean@gitlab.com> | 2019-07-30 14:11:20 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2019-08-01 11:07:28 +0100 |
commit | 5f48792b9565d3b8f374f5f26c040a2e46f4f73e (patch) | |
tree | 1e61e7c3830ec4c175443d76e65d9c9fd2bb8a3f | |
parent | 930026f49b75b8d31b3c218923f9d0d2bb77a08a (diff) | |
download | gitlab-ce-5f48792b9565d3b8f374f5f26c040a2e46f4f73e.tar.gz |
Fix project nav specs
-rw-r--r-- | spec/views/dashboard/projects/_nav.html.haml_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/dashboard/projects/_nav.html.haml_spec.rb b/spec/views/dashboard/projects/_nav.html.haml_spec.rb index f6a8ca13040..cbdd3c0acc3 100644 --- a/spec/views/dashboard/projects/_nav.html.haml_spec.rb +++ b/spec/views/dashboard/projects/_nav.html.haml_spec.rb @@ -4,7 +4,7 @@ describe 'dashboard/projects/_nav.html.haml' do it 'highlights All tab by default' do render - expect(rendered).to have_css('li.active a', text: 'All') + expect(rendered).to have_css('a.active', text: 'All') end it 'highlights Personal tab personal param is present' do @@ -12,6 +12,6 @@ describe 'dashboard/projects/_nav.html.haml' do render - expect(rendered).to have_css('li.active a', text: 'Personal') + expect(rendered).to have_css('a.active', text: 'Personal') end end |