|
|
@ -2,15 +2,15 @@ FactoryGirl.define do |
|
|
|
factory :custom_field do |
|
|
|
factory :custom_field do |
|
|
|
name "Custom Field" |
|
|
|
name "Custom Field" |
|
|
|
regexp "" |
|
|
|
regexp "" |
|
|
|
is_required "0" |
|
|
|
is_required false |
|
|
|
min_length "0" |
|
|
|
min_length false |
|
|
|
default_value "" |
|
|
|
default_value "" |
|
|
|
max_length "0" |
|
|
|
max_length false |
|
|
|
editable "1" |
|
|
|
editable true |
|
|
|
possible_values "" |
|
|
|
possible_values "" |
|
|
|
visible "1" |
|
|
|
visible true |
|
|
|
field_format "bool" |
|
|
|
field_format "bool" |
|
|
|
|
|
|
|
|
|
|
|
factory :user_custom_field do |
|
|
|
factory :user_custom_field do |
|
|
|
sequence(:name) { |n| "User Custom Field #{n}" } |
|
|
|
sequence(:name) { |n| "User Custom Field #{n}" } |
|
|
|
|
|
|
|
|
|
|
|