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(: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
|
||||||
|
|
Loading…
Reference in New Issue