mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 13:06:56 +08:00
FIX: Randomly failing TopicList specs.
This commit is contained in:
@ -5,6 +5,10 @@ describe TopicList do
|
||||
let(:user) { topic.user }
|
||||
let(:topic_list) { TopicList.new("liked", user, [topic]) }
|
||||
|
||||
before do
|
||||
TopicList.preloaded_custom_fields.clear
|
||||
end
|
||||
|
||||
after do
|
||||
TopicList.preloaded_custom_fields.clear
|
||||
end
|
||||
|
Reference in New Issue
Block a user