Merge pull request #2962 from consul/flaky_i18n
Fix flaky spec for translations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user