Commit 82e48d8e authored by Luke Bennett's avatar Luke Bennett

Remove translation dependency in CA spec

parent b63efb09
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment