Merge branch '39253-jobs-fail-because-of-brazilian-portuguese-translations' into 'master'

Resolve "Jobs fail because of Brazilian Portuguese translations"

Closes #39253

See merge request gitlab-org/gitlab-ce!14939
This commit is contained in:
Rémy Coutable 2017-10-18 16:37:16 +00:00
commit 9c71fb0de2

View file

@ -312,9 +312,9 @@ describe ApplicationHelper do
describe '#locale_path' do
it 'returns the locale path with an `_`' do
Gitlab::I18n.locale = 'pt-BR'
expect(helper.locale_path).to include('assets/locale/pt_BR/app')
Gitlab::I18n.with_locale('pt-BR') do
expect(helper.locale_path).to include('assets/locale/pt_BR/app')
end
end
end
end