diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-01-30 05:10:37 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-01-31 04:56:51 +0000 |
commit | e33e3d29ae56ddd10b66513c35f3e318ea375cb9 (patch) | |
tree | ce5d1515f93c1e38a01c95b5e0f07f1b572f3763 /spec/features/projects/pipelines/pipelines_spec.rb | |
parent | b5f089f2b7100dffb1a346e95022f88e6ff06415 (diff) | |
download | gitlab-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.rb | 8 |
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 |