From 5352e78482e4eba27727055480cd4f678bb794cb Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 6 Aug 2024 09:40:39 +0100 Subject: [PATCH] Fix bulk upload test --- spec/services/bulk_upload/sales/year2024/row_parser_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/services/bulk_upload/sales/year2024/row_parser_spec.rb b/spec/services/bulk_upload/sales/year2024/row_parser_spec.rb index 115995f3e..c436966de 100644 --- a/spec/services/bulk_upload/sales/year2024/row_parser_spec.rb +++ b/spec/services/bulk_upload/sales/year2024/row_parser_spec.rb @@ -1370,7 +1370,7 @@ RSpec.describe BulkUpload::Sales::Year2024::RowParser do it "only adds errors to the discounted ownership field" do parser.valid? expect(parser.errors[:field_103]).to be_empty - expect(parser.errors[:field_117]).to include("The mortgage, deposit, and grant when added together is £100.00, and the purchase price times by the discount is £90.00. These figures should be the same") + expect(parser.errors[:field_117]).to include("The mortgage, cash deposit (£100.00), and grant added together is £100.00.

The full purchase price (£100.00) times by the discount (10.0%) is £90.00.

These two amounts should be the same.") expect(parser.errors[:field_126]).to be_empty end end