Commit 3e23a450 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett Committed by Phil Hughes

Pluralize ee boards

parent 69fd23f8
......@@ -10,9 +10,10 @@
List
= nav_link(controller: :boards) do
= link_to namespace_project_boards_path(@project.namespace, @project), title: 'Board' do
-# EE should use plural "Boards"
= link_to namespace_project_boards_path(@project.namespace, @project), title: 'Boards' do
%span
Board
Boards
- if project_nav_tab?(:merge_requests) && current_controller?(:merge_requests)
= nav_link(controller: :merge_requests) do
......
require 'spec_helper'
describe 'Issues sub nav EE', :feature do
let(:user) { create(:user) }
let(:project) { create(:empty_project) }
before do
project.add_master(user)
login_as(user)
visit namespace_project_issues_path(project.namespace, project)
end
it 'should have a `Boards` item' do
expect(find('.sub-nav')).to have_content 'Boards'
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