From 8ef4d6d81249ede82083e7356c46428e14b85d83 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 21 Jul 2017 17:14:06 -0400 Subject: [PATCH] this was failing erratically --- spec/jobs/delete_topic_spec.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spec/jobs/delete_topic_spec.rb b/spec/jobs/delete_topic_spec.rb index 11a49d7a29c..b61667c48e5 100644 --- a/spec/jobs/delete_topic_spec.rb +++ b/spec/jobs/delete_topic_spec.rb @@ -4,9 +4,7 @@ describe Jobs::DeleteTopic do let(:admin) { Fabricate(:admin) } let(:topic) do - Fabricate(:topic, - topic_timers: [Fabricate(:topic_timer, user: admin)] - ) + Fabricate(:topic_timer, user: admin).topic end let(:first_post) { create_post(topic: topic) }