Reset I18n.locale in tests.

This commit is contained in:
Guo Xiang Tan
2016-09-29 13:42:56 +08:00
parent 72ccb4e11d
commit 40b83ebb47
2 changed files with 7 additions and 2 deletions

View File

@ -18,6 +18,7 @@ describe JsLocaleHelper do
JsLocaleHelper.extend StubLoadTranslations
after do
I18n.locale = :en
JsLocaleHelper.clear_cache!
end