From 399dadf1f3975dd181416f39a912ccef173d2ab4 Mon Sep 17 00:00:00 2001 From: samyou-softwire Date: Tue, 7 Apr 2026 14:53:57 +0100 Subject: [PATCH] fixup! CLDC-4363: Update remaining model tests wrong field --- spec/models/validations/date_validations_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/validations/date_validations_spec.rb b/spec/models/validations/date_validations_spec.rb index 043b705a9..59fc94f12 100644 --- a/spec/models/validations/date_validations_spec.rb +++ b/spec/models/validations/date_validations_spec.rb @@ -141,7 +141,7 @@ RSpec.describe Validations::DateValidations do it "can be within 20 years of the tenancy start date" do record.startdate = current_collection_start_date - record.mrcdate = current_collection_start_date - 20.years - 1.day + record.voiddate = current_collection_start_date - 20.years date_validator.validate_property_void_date(record) expect(record.errors["voiddate"]).to be_empty expect(record.errors["startdate"]).to be_empty