From 8b06e260595beec96fff17e31c0b65485024f79f Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Fri, 27 May 2011 15:52:24 -0700 Subject: [PATCH] [#350] Force clearing the cache before each test --- test/test_helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index ab35faf4..19342d15 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -47,6 +47,10 @@ class ActiveSupport::TestCase self.use_instantiated_fixtures = false # Add more helper methods to be used by all tests here... + def setup + super + Setting.clear_cache + end def log_user(login, password) User.anonymous