0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-11 02:59:07 +08:00
discourse/spec/fabricators/topic_timer_fabricator.rb

8 lines
150 B
Ruby
Vendored

# frozen_string_literal: true
Fabricator(:topic_timer) do
user
topic
execute_at { 1.hour.from_now }
status_type TopicTimer.types[:close]
end