mirror of
https://github.com/discourse/discourse.git
synced 2025-02-08 04:36:15 +08:00
![Guo Xiang Tan](/assets/img/avatar_default.png)
* 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
|