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:
parent
ec0480233c
commit
55249750ff
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue