simplify spec

This commit is contained in:
Sam Saffron 2017-07-22 22:47:16 -04:00
parent b9757bd02e
commit 687fbf5f09
1 changed files with 1 additions and 3 deletions

View File

@ -4,9 +4,7 @@ describe Jobs::ToggleTopicClosed do
let(:admin) { Fabricate(:admin) }
let(:topic) do
Fabricate(:topic,
topic_timers: [Fabricate(:topic_timer, user: admin)]
)
Fabricate(:topic_timer, user: admin).topic
end
before do