discourse/spec/fabricators/user_field_fabricator.rb

8 lines
170 B
Ruby
Raw Normal View History

Fabricator(:user_field) do
2017-07-27 21:20:09 -04:00
name { sequence(:name) { |i| "field_#{i}" } }
description "user field description"
field_type 'text'
editable true
required true
end