mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
DEV: Clear hex_cache
after each test.
This commit is contained in:
parent
84d4c81a26
commit
2ce684b134
@ -134,6 +134,7 @@ RSpec.configure do |config|
|
|||||||
|
|
||||||
unfreeze_time
|
unfreeze_time
|
||||||
ActionMailer::Base.deliveries.clear
|
ActionMailer::Base.deliveries.clear
|
||||||
|
ColorScheme.hex_cache.clear
|
||||||
|
|
||||||
raise if ActiveRecord::Base.connection_pool.stat[:busy] > 1
|
raise if ActiveRecord::Base.connection_pool.stat[:busy] > 1
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user