A platform for community discussion. Free, open, simple.
DEV: Clear serializers cache between tests (#34008)
Osama Sayegh26778dbd024f
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rbindex eaf0837cd2e..a6370248650 100644--- a/spec/rails_helper.rb+++ b/spec/rails_helper.rb@@ -190,6 +190,7 @@ module TestSetupMiddleware::AnonymousCache.disable_anon_cacheBlockRequestsMiddleware.allow_requests!BlockRequestsMiddleware.current_example_location = nil+ ApplicationSerializer.fragment_cache.clearendend