discourse/spec/fabricators/form_template_fabricator.rb

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

7 lines
143 B
Ruby
Raw Normal View History

2023-02-09 03:21:39 +08:00
# frozen_string_literal: true
Fabricator(:form_template) do
name { sequence(:name) { |i| "template_#{i}" } }
template "- type: input"
2023-02-09 03:21:39 +08:00
end