@ -768,6 +768,8 @@ private
attributes["buy2living"] = field_71
attributes["prevtenbuy2"] = prevtenbuy2
attributes["hhregresstill"] = field_74
attributes
end
@ -667,5 +667,13 @@ RSpec.describe BulkUpload::Sales::Year2023::RowParser do
expect(parser.log.prevtenbuy2).to be(0)
describe "#hhregresstill" do
let(:attributes) { setup_section_params.merge({ field_74: "4" }) }
it "is correctly set" do
expect(parser.log.hhregresstill).to be(4)