summaryrefslogtreecommitdiff
path: root/features/steps
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-03 13:22:11 +0100
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-11-03 13:22:11 +0100
commite3aed9121948c8124ddf128af3841986d69dafd5 (patch)
treef78edade5e034b070e5a1e8fab0fd2ded12a70bc /features/steps
parent819cfcef59f127a9ad92dc969570b479088a6974 (diff)
downloadgitlab-ce-e3aed9121948c8124ddf128af3841986d69dafd5.tar.gz
Better name for up-level linksgo-to-nav
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'features/steps')
-rw-r--r--features/steps/groups.rb2
-rw-r--r--features/steps/project/project.rb4
-rw-r--r--features/steps/shared/project_tab.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/groups.rb b/features/steps/groups.rb
index 69ddfa42c06..70388c18fcf 100644
--- a/features/steps/groups.rb
+++ b/features/steps/groups.rb
@@ -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 'Go to dashboard'
end
step 'gitlab user "Mike"' do
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb
index d76891d5bde..9ca7c8ebbc7 100644
--- a/features/steps/project/project.rb
+++ b/features/steps/project/project.rb
@@ -124,11 +124,11 @@ 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 'Go 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 'Go to group'
end
step 'I click notifications drop down button' do
diff --git a/features/steps/shared/project_tab.rb b/features/steps/shared/project_tab.rb
index c67e5e4a06a..33ff7084e30 100644
--- a/features/steps/shared/project_tab.rb
+++ b/features/steps/shared/project_tab.rb
@@ -46,7 +46,7 @@ module SharedProjectTab
step 'the active main tab should be Settings' do
page.within '.nav-sidebar' do
- expect(page).to have_content('Back to project')
+ expect(page).to have_content('Go to project')
end
end