mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: Unify way to reset Site.preloaded_category_custom_fields (#17384)
This commit is contained in:

committed by
GitHub

parent
7b6cd44c32
commit
ee89c68687
@ -133,7 +133,7 @@ describe Site do
|
||||
|
||||
expect(categories.last[:custom_fields]["enable_marketplace"]).to eq('f')
|
||||
ensure
|
||||
Site.preloaded_category_custom_fields.clear
|
||||
Site.reset_preloaded_category_custom_fields
|
||||
end
|
||||
|
||||
it 'sets the can_edit field for categories correctly' do
|
||||
|
Reference in New Issue
Block a user