Browse Source

Add joint to bulk upload

pull/1148/head
Kat 3 years ago committed by Phil Lee
parent
commit
05b0a8d881
  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

@ -226,6 +226,7 @@ private
builtype: %i[field_103],
wchair: %i[field_104],
beds: %i[field_101],
joint: %i[field_133],
}
end
@ -293,6 +294,7 @@ private
attributes["builtype"] = field_103
attributes["wchair"] = field_104
attributes["beds"] = field_101
attributes["joint"] = field_133
attributes
end

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

@ -65,6 +65,7 @@ RSpec.describe BulkUpload::Lettings::RowParser do
field_103: "1",
field_104: "1",
field_101: "1",
field_133: "1",
}
end

Loading…
Cancel
Save