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/cycle_analytics_spec.rb | |
parent | b5f089f2b7100dffb1a346e95022f88e6ff06415 (diff) | |
download | gitlab-ce-i18n-cop.tar.gz |
Autofixed some untranslated stringsi18n-cop
Diffstat (limited to 'spec/features/cycle_analytics_spec.rb')
-rw-r--r-- | spec/features/cycle_analytics_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/cycle_analytics_spec.rb b/spec/features/cycle_analytics_spec.rb index 32c75cae0a1..9524f59d3bd 100644 --- a/spec/features/cycle_analytics_spec.rb +++ b/spec/features/cycle_analytics_spec.rb @@ -32,7 +32,7 @@ describe 'Cycle Analytics', :js do it 'shows active stage with empty message' do expect(page).to have_selector('.stage-nav-item.active', text: 'Issue') - expect(page).to have_content("We don't have enough data to show this stage.") + expect(page).to have_content(_("We don't have enough data to show this stage.")) end end @@ -129,10 +129,10 @@ describe 'Cycle Analytics', :js do expect(find('.stage-events')).to have_content(issue.title) click_stage('Code') - expect(find('.stage-events')).to have_content('You need permission.') + expect(find('.stage-events')).to have_content(_('You need permission.')) click_stage('Review') - expect(find('.stage-events')).to have_content('You need permission.') + expect(find('.stage-events')).to have_content(_('You need permission.')) end end |