summaryrefslogtreecommitdiff
path: root/spec/features/projects/pipelines/pipelines_spec.rb
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-01-30 05:10:37 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-01-31 04:56:51 +0000
commite33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch)
treece5d1515f93c1e38a01c95b5e0f07f1b572f3763 /spec/features/projects/pipelines/pipelines_spec.rb
parentb5f089f2b7100dffb1a346e95022f88e6ff06415 (diff)
downloadgitlab-ce-i18n-cop.tar.gz
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'spec/features/projects/pipelines/pipelines_spec.rb')
-rw-r--r--spec/features/projects/pipelines/pipelines_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/projects/pipelines/pipelines_spec.rb b/spec/features/projects/pipelines/pipelines_spec.rb
index b75dee66592..574aaea1418 100644
--- a/spec/features/projects/pipelines/pipelines_spec.rb
+++ b/spec/features/projects/pipelines/pipelines_spec.rb
@@ -87,7 +87,7 @@ describe 'Pipelines', :js do
it 'updates content when tab is clicked' do
page.find('.js-pipelines-tab-pending').click
wait_for_requests
- expect(page).to have_content('There are currently no pending pipelines.')
+ expect(page).to have_content(_('There are currently no pending pipelines.'))
end
end
@@ -662,7 +662,7 @@ describe 'Pipelines', :js do
it 'increments jobs_cache_index' do
click_button 'Clear Runner Caches'
wait_for_requests
- expect(page.find('.flash-notice')).to have_content 'Project cache successfully reset.'
+ expect(page.find('.flash-notice')).to have_content _('Project cache successfully reset.')
end
end
@@ -670,7 +670,7 @@ describe 'Pipelines', :js do
it 'sets jobs_cache_index to 1' do
click_button 'Clear Runner Caches'
wait_for_requests
- expect(page.find('.flash-notice')).to have_content 'Project cache successfully reset.'
+ expect(page.find('.flash-notice')).to have_content _('Project cache successfully reset.')
end
end
end
@@ -699,7 +699,7 @@ describe 'Pipelines', :js do
let(:project) { create(:project, :public, :repository) }
context 'without pipelines' do
- it { expect(page).to have_content 'This project is not currently set up to run pipelines.' }
+ it { expect(page).to have_content _('This project is not currently set up to run pipelines.') }
end
end