Skip to content

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

DEV: Flush redis db after each system test (#19415)

Alan Guo Xiang Tanab4158d257bf
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 21c575c6f99..1602496b367 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -411,6 +411,8 @@ RSpec.configure do |config|
end
end
end
+
+ Discourse.redis.flushdb
end
config.before(:each, type: :multisite) do