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.
15 lines
360 B
15 lines
360 B
2 years ago
|
require "securerandom"
|
||
|
|
||
|
FactoryBot.define do
|
||
|
factory :bulk_upload_error do
|
||
|
bulk_upload
|
||
|
row { rand(9_999) }
|
||
|
cell { "#{('A'..'Z').to_a.sample}#{row}" }
|
||
|
tenant_code { SecureRandom.hex(4) }
|
||
|
property_ref { SecureRandom.hex(4) }
|
||
|
purchaser_code { SecureRandom.hex(4) }
|
||
|
field { "field_#{rand(134)}" }
|
||
|
error { "some error" }
|
||
|
end
|
||
|
end
|