mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
Fix specs.
This commit is contained in:
@ -1155,9 +1155,7 @@ describe Topic do
|
||||
let(:topic) { Fabricate.build(:topic) }
|
||||
|
||||
let(:closing_topic) do
|
||||
Fabricate(:topic,
|
||||
topic_timers: [Fabricate(:topic_timer, execute_at: 5.hours.from_now)]
|
||||
)
|
||||
Fabricate(:topic_timer, execute_at: 5.hours.from_now).topic
|
||||
end
|
||||
|
||||
let(:admin) { Fabricate(:admin) }
|
||||
|
Reference in New Issue
Block a user