From 4c34db203e8dcaacb6377a49cd81ef83dc4f6bd5 Mon Sep 17 00:00:00 2001 From: samyou-softwire Date: Mon, 20 Apr 2026 10:11:50 +0100 Subject: [PATCH] fixup! CLDC-4328: Update wrong field numbers error --- spec/services/bulk_upload/lettings/validator_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/services/bulk_upload/lettings/validator_spec.rb b/spec/services/bulk_upload/lettings/validator_spec.rb index ef5386cc9..f078d120d 100644 --- a/spec/services/bulk_upload/lettings/validator_spec.rb +++ b/spec/services/bulk_upload/lettings/validator_spec.rb @@ -55,7 +55,7 @@ RSpec.describe BulkUpload::Lettings::Validator do it "is not valid" do expect(validator).not_to be_valid - expect(validator.errors["base"]).to eql(["Incorrect number of fields, please ensure you have used the correct template."]) + expect(validator.errors["base"]).to eql(["Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."]) end end @@ -72,7 +72,7 @@ RSpec.describe BulkUpload::Lettings::Validator do it "is not valid" do expect(validator).not_to be_valid - expect(validator.errors["base"]).to eql(["Incorrect number of fields, please ensure you have used the correct template."]) + expect(validator.errors["base"]).to eql(["Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."]) end end end