[#350] Force clearing the cache before each test
This commit is contained in:
parent
5a9ffe9627
commit
8b06e26059
@ -47,6 +47,10 @@ class ActiveSupport::TestCase
|
|||||||
self.use_instantiated_fixtures = false
|
self.use_instantiated_fixtures = false
|
||||||
|
|
||||||
# Add more helper methods to be used by all tests here...
|
# Add more helper methods to be used by all tests here...
|
||||||
|
def setup
|
||||||
|
super
|
||||||
|
Setting.clear_cache
|
||||||
|
end
|
||||||
|
|
||||||
def log_user(login, password)
|
def log_user(login, password)
|
||||||
User.anonymous
|
User.anonymous
|
||||||
|
Loading…
x
Reference in New Issue
Block a user