summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-01-22 16:10:34 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-01-22 16:10:34 +0000
commitc414ab84608cc7f7e1f5363835a611650f3cba7d (patch)
tree5818591335dd880866ee64c9b4f58e2862f8d7ac
parent4b8004c712a80e7c6a18fd5082d0d5fac7083558 (diff)
downloadgitlab-ce-c414ab84608cc7f7e1f5363835a611650f3cba7d.tar.gz
Improve copy for the pending state42119-non-triggered
-rw-r--r--app/views/projects/jobs/show.html.haml2
-rw-r--r--spec/features/projects/jobs_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/jobs/show.html.haml b/app/views/projects/jobs/show.html.haml
index 06b5a1e7d0c..eb0773f2d4e 100644
--- a/app/views/projects/jobs/show.html.haml
+++ b/app/views/projects/jobs/show.html.haml
@@ -106,7 +106,7 @@
illustration: 'illustrations/job_not_triggered.svg',
illustration_size: 'svg-306',
title: _('This job has not started yet'),
- content: _('This job is in pending state and is waiting to be picked by the runner')
+ content: _('This job is in pending state and is waiting to be picked by a runner')
= render "sidebar"
.js-build-options{ data: javascript_build_options }
diff --git a/spec/features/projects/jobs_spec.rb b/spec/features/projects/jobs_spec.rb
index 3391fa6815b..e661db1809a 100644
--- a/spec/features/projects/jobs_spec.rb
+++ b/spec/features/projects/jobs_spec.rb
@@ -389,7 +389,7 @@ feature 'Jobs' do
wait_for_requests
expect(page).to have_content('This job has not started yet')
- expect(page).to have_content('This job is in pending state and is waiting to be picked by the runner')
+ expect(page).to have_content('This job is in pending state and is waiting to be picked by a runner')
expect(page).to have_content('pending')
end
end
@@ -416,7 +416,7 @@ feature 'Jobs' do
it 'shows pending empty state' do
expect(page).to have_content('This job has not started yet')
- expect(page).to have_content('This job is in pending state and is waiting to be picked by the runner')
+ expect(page).to have_content('This job is in pending state and is waiting to be picked by a runner')
end
end
end