From 82e48d8e9b54a1c79f472071f89d43322378c33f Mon Sep 17 00:00:00 2001 From: Luke Bennett Date: Thu, 7 Mar 2019 16:37:26 +0000 Subject: [PATCH] Remove translation dependency in CA spec --- spec/features/cycle_analytics_spec.rb | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/spec/features/cycle_analytics_spec.rb b/spec/features/cycle_analytics_spec.rb index f4b2b9033ab..48edc764a8e 100644 --- a/spec/features/cycle_analytics_spec.rb +++ b/spec/features/cycle_analytics_spec.rb @@ -90,25 +90,6 @@ describe 'Cycle Analytics', :js do end end end - - context "when my preferred language is Spanish" do - before do - user.update_attribute(:preferred_language, 'es') - - project.add_maintainer(user) - sign_in(user) - visit project_cycle_analytics_path(project) - wait_for_requests - end - - it 'shows the content in Spanish' do - expect(page).to have_content('Estado del Pipeline') - end - - it 'resets the language to English' do - expect(I18n.locale).to eq(:en) - end - end end context "as a guest" do