mirror of
https://github.com/discourse/discourse.git
synced 2025-02-16 18:24:52 -06:00
FIX: Randomly failing TopicList specs.
This commit is contained in:
parent
42ec8a7c3d
commit
ff577405ae
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user