mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 05:06:46 +10:00
Consistently case Back to X links.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user