discourse/spec/fabricators/form_template_fabricator.rb

7 lines
143 B
Ruby

# frozen_string_literal: true
Fabricator(:form_template) do
name { sequence(:name) { |i| "template_#{i}" } }
template "- type: input"
end