FIX: Some specs were leaking state, causing other tests to run in

different languages and randomly failing with some seeds.
This commit is contained in:
Robin Ward 2014-08-26 12:29:21 -04:00
parent ec0480233c
commit 55249750ff
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ Spork.prefork do
SiteSetting.enable_system_avatars = false SiteSetting.enable_system_avatars = false
SiteSetting.automatically_download_gravatars = false SiteSetting.automatically_download_gravatars = false
I18n.locale = :en
end end
class TestCurrentUserProvider < Auth::DefaultCurrentUserProvider class TestCurrentUserProvider < Auth::DefaultCurrentUserProvider