discourse/spec/fabricators/user_field_fabricator.rb

10 lines
211 B
Ruby

# frozen_string_literal: true
Fabricator(:user_field) do
name { sequence(:name) { |i| "field_#{i}" } }
description "user field description"
field_type "text"
editable true
requirement "on_signup"
end