discourse/spec/fabricators/form_template_fabricator.rb

8 lines
154 B
Ruby

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