discourse/spec/fabricators/topic_timer_fabricator.rb

7 lines
122 B
Ruby
Raw Normal View History

Fabricator(:topic_timer) do
user
topic
execute_at Time.zone.now + 1.hour
status_type TopicTimer.types[:close]
end