discourse/plugins/automation/spec/fabricators/automation_fabricator.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
262 B
Ruby
Raw Normal View History

# 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