You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
461 B
20 lines
461 B
FactoryBot.define do |
|
factory :income_range do |
|
trait :full_time do |
|
economic_status { "Full-time - 30 hours or more" } |
|
soft_min { 143 } |
|
soft_max { 730 } |
|
hard_min { 90 } |
|
hard_max { 1230 } |
|
end |
|
trait :retired do |
|
economic_status { "Retired" } |
|
soft_min { 50 } |
|
soft_max { 370 } |
|
hard_min { 10 } |
|
hard_max { 690 } |
|
end |
|
created_at { Time.zone.now } |
|
updated_at { Time.zone.now } |
|
end |
|
end
|
|
|