diff options
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 |