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