Groups section capitalization fix

This commit is contained in:
Jose Ivan Vargas Lopez 2017-04-05 20:46:58 +00:00 committed by Jose Ivan Vargas
parent 7997a0df71
commit 0e325ea6ee
7 changed files with 8 additions and 8 deletions

View File

@ -51,4 +51,4 @@
%strong Removed group can not be restored!
.form-actions
= link_to 'Remove Group', @group, data: {confirm: 'Removed group can not be restored! Are you sure?'}, method: :delete, class: "btn btn-remove"
= link_to 'Remove group', @group, data: {confirm: 'Removed group can not be restored! Are you sure?'}, method: :delete, class: "btn btn-remove"

View File

@ -11,7 +11,7 @@
= icon('rss')
%span.icon-label
Subscribe
= 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

View File

@ -7,7 +7,7 @@
.nav-controls
- if can?(current_user, :admin_milestones, @group)
= link_to new_group_milestone_path(@group), class: "btn btn-new" do
New Milestone
New milestone
.row-content-block
Only milestones from

View File

@ -39,5 +39,5 @@
= render "shared/milestones/form_dates", f: f
.form-actions
= f.submit 'Create Milestone', class: "btn-create btn"
= f.submit 'Create milestone', class: "btn-create btn"
= link_to "Cancel", group_milestones_path(@group), class: "btn btn-cancel"

View File

@ -7,7 +7,7 @@
- if can? current_user, :admin_group, @group
.controls
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-sm btn-success" do
New Project
New project
%ul.well-list
- @projects.each do |project|
%li

View File

@ -46,11 +46,11 @@ class Spinach::Features::GroupMilestones < Spinach::FeatureSteps
end
step 'I click new milestone button' do
click_link "New Milestone"
click_link "New milestone"
end
step 'I press create mileston button' do
click_button "Create Milestone"
click_button "Create milestone"
end
step 'milestone in each project should be created' do

View File

@ -153,7 +153,7 @@ feature 'Group', feature: true do
end
it 'removes group' do
click_link 'Remove Group'
click_link 'Remove group'
expect(page).to have_content "scheduled for deletion"
end