[#350] Force clearing the cache before each test

This commit is contained in:
Eric Davis 2011-05-27 15:52:24 -07:00
parent 5a9ffe9627
commit 8b06e26059
1 changed files with 4 additions and 0 deletions

View File

@ -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