DEV: Clear ColorScheme.hex_cache to avoid leaking state.

This commit is contained in:
Guo Xiang Tan
2018-10-15 11:15:31 +08:00
parent 2acb885c72
commit 5ae4cbcf88
4 changed files with 15 additions and 3 deletions

View File

@@ -134,7 +134,6 @@ RSpec.configure do |config|
unfreeze_time
ActionMailer::Base.deliveries.clear
ColorScheme.hex_cache.clear
raise if ActiveRecord::Base.connection_pool.stat[:busy] > 1
end