discourse/spec/fabricators/form_template_fabricator.rb

8 lines
154 B
Ruby
Raw Normal View History

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