Browse Source

add ecstat1 to bulk upload

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

@ -253,6 +253,8 @@ private
ethnic_group: %i[field_43],
ethnic: %i[field_43],
national: %i[field_44],
ecstat1: %i[field_35],
}
end
@ -348,6 +350,8 @@ private
attributes["ethnic"] = field_43
attributes["national"] = field_44
attributes["ecstat1"] = field_35
attributes
end

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

@ -83,6 +83,8 @@ RSpec.describe BulkUpload::Lettings::RowParser do
field_43: "17",
field_44: "18",
field_35: "1",
}
end

Loading…
Cancel
Save