mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
DEV: Clear hex_cache
after each test.
This commit is contained in:
parent
84d4c81a26
commit
2ce684b134
1 changed files with 1 additions and 0 deletions
|
@ -134,6 +134,7 @@ RSpec.configure do |config|
|
|||
|
||||
unfreeze_time
|
||||
ActionMailer::Base.deliveries.clear
|
||||
ColorScheme.hex_cache.clear
|
||||
|
||||
raise if ActiveRecord::Base.connection_pool.stat[:busy] > 1
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue