Consistently case Back to X
links.
This commit is contained in:
parent
d92696d39d
commit
260fcd4520
5 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue