@ -320,6 +320,8 @@ private
brent: %i[field_80],
hbrentshortfall: %i[field_87],
tshortfall: %i[field_88],
unitletas: %i[field_105],
}
end
@ -494,6 +496,8 @@ private
attributes["hhmemb"] = hhmemb
attributes["unitletas"] = field_105
attributes
@ -458,5 +458,13 @@ RSpec.describe BulkUpload::Lettings::RowParser do
expect(parser.log.net_income_known).to eq(0)
describe "#unitletas" do
let(:attributes) { { bulk_upload:, field_105: "1" } }
it "sets value from correct mapping" do
expect(parser.log.unitletas).to eq(1)