mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 10:15:47 +08:00
7 lines
122 B
Ruby
7 lines
122 B
Ruby
|
Fabricator(:topic_timer) do
|
||
|
user
|
||
|
topic
|
||
|
execute_at Time.zone.now + 1.hour
|
||
|
status_type TopicTimer.types[:close]
|
||
|
end
|