Browse Source

add layear to bulk upload

remotes/origin/bulk-upload-errors-integration
Phil Lee 3 years ago
parent
commit
9a3e356926
  1. 4
      app/services/bulk_upload/lettings/row_parser.rb
  2. 2
      spec/services/bulk_upload/lettings/row_parser_spec.rb

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

@ -265,6 +265,8 @@ private
housingneeds: %i[field_47],
illness: %i[field_118],
layear: %i[field_66],
}
end
@ -372,6 +374,8 @@ private
attributes["illness"] = field_118
attributes["layear"] = field_66
attributes
end

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

@ -93,6 +93,8 @@ RSpec.describe BulkUpload::Lettings::RowParser do
field_47: "1",
field_118: "2",
field_66: "5",
}
end

Loading…
Cancel
Save