diff options
author | Luke Bennett <lbennett@gitlab.com> | 2019-03-07 16:37:26 +0000 |
---|---|---|
committer | Luke Bennett <lbennett@gitlab.com> | 2019-03-07 16:37:26 +0000 |
commit | 82e48d8e9b54a1c79f472071f89d43322378c33f (patch) | |
tree | 4b6903848697ce91ca42116492063876e25967cb | |
parent | b63efb09a5c864047924cd2d84527b47dd563d5f (diff) | |
download | gitlab-ce-82e48d8e9b54a1c79f472071f89d43322378c33f.tar.gz |
Remove translation dependency in CA spec
-rw-r--r-- | spec/features/cycle_analytics_spec.rb | 19 |
1 files changed, 0 insertions, 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 |