Browse Source

add waityear to bulk upload

remotes/origin/bulk-upload-errors-integration
Phil Lee 3 years ago
parent
commit
06dcf3fc8a
  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

@ -267,6 +267,7 @@ private
illness: %i[field_118], illness: %i[field_118],
layear: %i[field_66], layear: %i[field_66],
waityear: %i[field_67],
} }
end end
@ -375,6 +376,7 @@ private
attributes["illness"] = field_118 attributes["illness"] = field_118
attributes["layear"] = field_66 attributes["layear"] = field_66
attributes["waityear"] = field_67
attributes attributes
end end

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

@ -95,6 +95,7 @@ RSpec.describe BulkUpload::Lettings::RowParser do
field_118: "2", field_118: "2",
field_66: "5", field_66: "5",
field_67: "2",
} }
end end

Loading…
Cancel
Save