From 853869bac81ea94827ad0da8dca48aab3169ae23 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Tue, 3 Jan 2023 09:47:20 +0000 Subject: [PATCH] use collection_start_year instead of the startdate (#1128) --- spec/models/lettings_log_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/lettings_log_spec.rb b/spec/models/lettings_log_spec.rb index 1ea1d35d3..953ec838b 100644 --- a/spec/models/lettings_log_spec.rb +++ b/spec/models/lettings_log_spec.rb @@ -1888,7 +1888,7 @@ RSpec.describe LettingsLog do soft_max: 89.54, hard_min: 10.87, hard_max: 100.99, - start_year: lettings_log.startdate&.year, + start_year: lettings_log.collection_start_year, ) end