Dashboard section capitalization fix
This commit is contained in:
parent
c2a987fb9c
commit
7997a0df71
7 changed files with 8 additions and 8 deletions
|
@ -11,4 +11,4 @@
|
|||
= render 'shared/groups/dropdown'
|
||||
- if current_user.can_create_group?
|
||||
= link_to new_group_path, class: "btn btn-new" do
|
||||
New Group
|
||||
New group
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
= render 'shared/projects/dropdown'
|
||||
- if current_user.can_create_project?
|
||||
= link_to new_project_path, class: 'btn btn-new' do
|
||||
New Project
|
||||
New project
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
.nav-controls
|
||||
= link_to params.merge(rss_url_options), class: 'btn has-tooltip', title: 'Subscribe' do
|
||||
= icon('rss')
|
||||
= render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
|
||||
= render 'shared/new_project_item_select', path: 'issues/new', label: "New issue"
|
||||
|
||||
= render 'shared/issuable/filter', type: :issues
|
||||
= render 'shared/issues'
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
.top-area
|
||||
= render 'shared/issuable/nav', type: :merge_requests
|
||||
.nav-controls
|
||||
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New Merge Request"
|
||||
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request"
|
||||
|
||||
= render 'shared/issuable/filter', type: :merge_requests
|
||||
= render 'shared/merge_requests'
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
= render 'shared/milestones_filter', counts: @milestone_states
|
||||
|
||||
.nav-controls
|
||||
= render 'shared/new_project_item_select', path: 'milestones/new', label: 'New Milestone', include_groups: true
|
||||
= render 'shared/new_project_item_select', path: 'milestones/new', label: 'New milestone', include_groups: true
|
||||
|
||||
.milestones
|
||||
%ul.content-list
|
||||
|
|
|
@ -3,9 +3,9 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps
|
|||
include SharedPaths
|
||||
include SharedProject
|
||||
|
||||
step 'I click "New Project" link' do
|
||||
step 'I click "New project" link' do
|
||||
page.within('.content') do
|
||||
click_link "New Project"
|
||||
click_link "New project"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ RSpec.describe 'Dashboard Group', feature: true do
|
|||
|
||||
it 'creates new grpup' do
|
||||
visit dashboard_groups_path
|
||||
click_link 'New Group'
|
||||
click_link 'New group'
|
||||
|
||||
fill_in 'group_path', with: 'Samurai'
|
||||
fill_in 'group_description', with: 'Tokugawa Shogunate'
|
||||
|
|
Loading…
Reference in a new issue