diff options
author | Annabel Gray <annabel.m.gray@gmail.com> | 2018-05-31 14:23:49 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2018-05-31 14:23:49 +0000 |
commit | 8a0acaf88bf87c031bdf8b1c41df350e1f932679 (patch) | |
tree | 5c1171741eaf10451d28623f786c019eab5e8cac /spec | |
parent | afac3f02e2ea0b1568cfac6d6671bf00baf7d1dc (diff) | |
download | gitlab-ce-8a0acaf88bf87c031bdf8b1c41df350e1f932679.tar.gz |
Fix active tab styling
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/milestones/milestone_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/projects/milestones/milestone_spec.rb b/spec/features/projects/milestones/milestone_spec.rb index 30de3e83fbb..20a52d6011f 100644 --- a/spec/features/projects/milestones/milestone_spec.rb +++ b/spec/features/projects/milestones/milestone_spec.rb @@ -17,8 +17,8 @@ feature 'Project milestone' do it 'shows issues tab' do within('#content-body') do expect(page).to have_link 'Issues', href: '#tab-issues' - expect(page).to have_selector '.nav-links li.active', count: 1 - expect(find('.nav-links li.active')).to have_content 'Issues' + expect(page).to have_selector '.nav-links li a.active', count: 1 + expect(find('.nav-links li a.active')).to have_content 'Issues' end end @@ -44,8 +44,8 @@ feature 'Project milestone' do it 'hides issues tab' do within('#content-body') do expect(page).not_to have_link 'Issues', href: '#tab-issues' - expect(page).to have_selector '.nav-links li.active', count: 1 - expect(find('.nav-links li.active')).to have_content 'Merge Requests' + expect(page).to have_selector '.nav-links li a.active', count: 1 + expect(find('.nav-links li a.active')).to have_content 'Merge Requests' end end |