@ -346,6 +346,8 @@ private
illness_type_10: %i[field_128],
irproduct_other: %i[field_131],
offered: %i[field_99],
}
end
@ -546,6 +548,8 @@ private
attributes["irproduct_other"] = field_131
attributes["offered"] = field_99
attributes
@ -621,5 +621,13 @@ RSpec.describe BulkUpload::Lettings::RowParser do
expect(parser.log.scharge).to eq(123.45)
describe "#offered" do
let(:attributes) { { bulk_upload:, field_99: "3" } }
it "sets value given" do
expect(parser.log.offered).to eq(3)