Renamed 'Overview' to 'Project' in collapsed contextual navigation at a project level

This commit is contained in:
Constance Okoghenun 2018-05-21 16:19:55 +00:00 committed by Tim Zallmann
parent 87d2c77b7d
commit 3503dfe2b8
4 changed files with 10 additions and 4 deletions

View File

@ -19,7 +19,7 @@
= nav_link(path: 'projects#show', html_options: { class: "fly-out-top-item" } ) do
= link_to project_path(@project) do
%strong.fly-out-top-item-name
= _('Overview')
= _('Project')
%li.divider.fly-out-top-item
= nav_link(path: 'projects#show') do
= link_to project_path(@project), title: _('Project details'), class: 'shortcuts-project' do

View File

@ -0,0 +1,6 @@
---
title: Renamed 'Overview' to 'Project' in collapsed contextual navigation at a project
level
merge_request: 18996
author: Constance Okoghenun
type: fixed

View File

@ -35,7 +35,7 @@ describe 'Project active tab' do
visit project_path(project)
end
it_behaves_like 'page has active tab', 'Overview'
it_behaves_like 'page has active tab', 'Project'
it_behaves_like 'page has active sub tab', 'Details'
context 'on project Home/Activity' do
@ -43,7 +43,7 @@ describe 'Project active tab' do
click_tab('Activity')
end
it_behaves_like 'page has active tab', 'Overview'
it_behaves_like 'page has active tab', 'Project'
it_behaves_like 'page has active sub tab', 'Activity'
end
end

View File

@ -37,7 +37,7 @@ describe 'Projects > User sees sidebar' do
visit project_path(project)
within('.nav-sidebar') do
expect(page).to have_content 'Overview'
expect(page).to have_content 'Project'
expect(page).to have_content 'Issues'
expect(page).to have_content 'Wiki'