Merge pull request #2962 from consul/flaky_i18n

Fix flaky spec for translations
This commit is contained in:
Raimond Garcia
2018-10-17 12:45:51 +02:00
committed by GitHub

View File

@@ -13,6 +13,7 @@ describe LocalesHelper do
after do
I18n.backend.reload!
I18n.enforce_available_locales = default_enforce
I18n.backend.send(:init_translations)
end
it "returns the language name in i18n.language.name translation" do
@@ -29,4 +30,4 @@ describe LocalesHelper do
end
end
end
end