Browse Source

add homeless to bulk upload

pull/1148/head
Phil Lee 3 years ago
parent
commit
1f86491720
  1. 2
      app/services/bulk_upload/lettings/row_parser.rb
  2. 1
      spec/services/bulk_upload/lettings/row_parser_spec.rb

2
app/services/bulk_upload/lettings/row_parser.rb

@ -270,6 +270,7 @@ private
waityear: %i[field_67],
reason: %i[field_52],
prevten: %i[field_61],
homeless: %i[field_68],
}
end
@ -381,6 +382,7 @@ private
attributes["waityear"] = field_67
attributes["reason"] = field_52
attributes["prevten"] = field_61
attributes["homeless"] = field_68
attributes
end

1
spec/services/bulk_upload/lettings/row_parser_spec.rb

@ -98,6 +98,7 @@ RSpec.describe BulkUpload::Lettings::RowParser do
field_67: "2",
field_52: "1",
field_61: "3",
field_68: "12",
}
end

Loading…
Cancel
Save