Commit 5f48792b authored by Sean McGivern's avatar Sean McGivern

Fix project nav specs

parent 930026f4
...@@ -4,7 +4,7 @@ describe 'dashboard/projects/_nav.html.haml' do ...@@ -4,7 +4,7 @@ describe 'dashboard/projects/_nav.html.haml' do
it 'highlights All tab by default' do it 'highlights All tab by default' do
render render
expect(rendered).to have_css('li.active a', text: 'All') expect(rendered).to have_css('a.active', text: 'All')
end end
it 'highlights Personal tab personal param is present' do it 'highlights Personal tab personal param is present' do
...@@ -12,6 +12,6 @@ describe 'dashboard/projects/_nav.html.haml' do ...@@ -12,6 +12,6 @@ describe 'dashboard/projects/_nav.html.haml' do
render render
expect(rendered).to have_css('li.active a', text: 'Personal') expect(rendered).to have_css('a.active', text: 'Personal')
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment