clear the sql counter on teardown so the GC can do it's thing
This commit is contained in:
parent
1b276d53fb
commit
39489d138f
@ -9,6 +9,10 @@ def setup
|
||||
cleanup_identity_map
|
||||
end
|
||||
|
||||
def teardown
|
||||
ActiveRecord::SQLCounter.log.clear
|
||||
end
|
||||
|
||||
def cleanup_identity_map
|
||||
ActiveRecord::IdentityMap.clear
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user