Skip to content

A platform for community discussion. Free, open, simple.

DEV: Clear `hex_cache` after each test.

Guo Xiang Tan2ce684b1345c
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 2a78230fbed..2deb20cf911 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -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