DEV: Unify way to reset Site.preloaded_category_custom_fields (#17384)

This commit is contained in:
Alan Guo Xiang Tan
2022-07-14 08:54:31 +08:00
committed by GitHub
parent 7b6cd44c32
commit ee89c68687
4 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ describe 'site' do
let(:expected_request_schema) { expected_request_schema }
end
ensure
Site.preloaded_category_custom_fields = Set.new
Site.reset_preloaded_category_custom_fields
end
end
end