mirror of
https://github.com/discourse/discourse.git
synced 2024-11-29 01:08:34 +08:00
34b7bee568
* This commit also introduces a `TopicStatusUpdate` model to support other forms of deferred topic status update in the future.
7 lines
137 B
Ruby
7 lines
137 B
Ruby
Fabricator(:topic_status_update) do
|
|
user
|
|
topic
|
|
execute_at Time.zone.now + 1.hour
|
|
status_type TopicStatusUpdate.types[:close]
|
|
end
|