mirror of
https://github.com/discourse/discourse.git
synced 2024-12-25 14:33:43 +08:00
10 lines
262 B
Ruby
10 lines
262 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
Fabricator(:automation, from: DiscourseAutomation::Automation) do
|
||
|
name "My Automation"
|
||
|
script "something_about_us"
|
||
|
trigger DiscourseAutomation::Triggers::TOPIC
|
||
|
last_updated_by_id Discourse.system_user.id
|
||
|
enabled true
|
||
|
end
|