docbrown/spec/factories/custom_profile_fields.rb
Michael Kohl 4ae59b56e3
Add custom profile fields (#10202)
* Add custom_profile_fields table

* Add CustomProfileField model and refactor

* Remove trailing whitespace

* Stop ignoring removed column

* Add explanatory comment

* Update service object

* Fix bug in service object

* Refactor and fix specs

* Increase limit from 3 to 5

* Update comment to reflect code changes
2020-09-09 14:37:15 +00:00

7 lines
159 B
Ruby

FactoryBot.define do
factory :custom_profile_field do
profile
sequence(:label) { |n| "Email #{n}" }
description { "some description" }
end
end