From 01c38896b219b27cebf3bcd3d100f344d9c2ec8d Mon Sep 17 00:00:00 2001 From: Samuel Young Date: Wed, 7 Jan 2026 15:23:31 +0000 Subject: [PATCH] fixup! Revert "CLDC-4136: Remove question from BU parser" --- .../lettings/year2026/row_parser_spec.rb | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/spec/services/bulk_upload/lettings/year2026/row_parser_spec.rb b/spec/services/bulk_upload/lettings/year2026/row_parser_spec.rb index 4b705fbc7..6e37c82b3 100644 --- a/spec/services/bulk_upload/lettings/year2026/row_parser_spec.rb +++ b/spec/services/bulk_upload/lettings/year2026/row_parser_spec.rb @@ -1678,22 +1678,6 @@ RSpec.describe BulkUpload::Lettings::Year2026::RowParser do end end - describe "#field_27" do - context "when null" do - let(:attributes) { setup_section_params.merge({ field_27: nil }) } - - it "returns an error" do - parser.valid? - expect(parser.errors[:field_27]).to be_present - end - - it "populates with correct error message" do - parser.valid? - expect(parser.errors[:field_27]).to eql([I18n.t("validations.lettings.2026.bulk_upload.not_answered", question: "type of building.")]) - end - end - end - describe "#field_48" do # age2 context "when null but gender given" do let(:attributes) { setup_section_params.merge({ field_48: "", field_49: "F" }) }