Consistently case Back to X links.

This commit is contained in:
Douwe Maan 2015-09-08 14:43:41 +01:00
parent d92696d39d
commit 260fcd4520
5 changed files with 7 additions and 7 deletions

View file

@ -3,7 +3,7 @@
= link_to root_path, title: 'Back to dashboard', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Dashboard
Back to dashboard
%li.separate-item

View file

@ -3,7 +3,7 @@
= link_to root_path, title: 'Back to dashboard', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Dashboard
Back to dashboard
%li.separate-item

View file

@ -4,13 +4,13 @@
= link_to group_path(@project.group), title: 'Back to group', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Group
Back to group
- else
= nav_link do
= link_to root_path, title: 'Back to dashboard', data: {placement: 'right'}, class: 'back-link' do
= icon('caret-square-o-left fw')
%span
Back to Dashboard
Back to dashboard
%li.separate-item

View file

@ -6,7 +6,7 @@ class Spinach::Features::Groups < Spinach::FeatureSteps
include Select2Helper
step 'I should see back to dashboard button' do
expect(page).to have_content 'Back to Dashboard'
expect(page).to have_content 'Back to dashboard'
end
step 'gitlab user "Mike"' do

View file

@ -124,10 +124,10 @@ class Spinach::Features::Project < Spinach::FeatureSteps
end
step 'I should see back to dashboard button' do
expect(page).to have_content 'Back to Dashboard'
expect(page).to have_content 'Back to dashboard'
end
step 'I should see back to group button' do
expect(page).to have_content 'Back to Group'
expect(page).to have_content 'Back to group'
end
end