Merge branch 'remove-translation-dep-in-ca-spec' into 'master'
Remove translation dependency in CA spec Closes #58653 See merge request gitlab-org/gitlab-ce!25882
This commit is contained in:
commit
380fa88355
1 changed files with 0 additions and 19 deletions
|
@ -90,25 +90,6 @@ describe 'Cycle Analytics', :js do
|
||||||
end
|
end
|
||||||
end
|
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
|
end
|
||||||
|
|
||||||
context "as a guest" do
|
context "as a guest" do
|
||||||
|
|
Loading…
Reference in a new issue