From 1e1e9e8ea4ce11ce01dae0e2dc31137ee314723d Mon Sep 17 00:00:00 2001 From: Kat <54268893+kosiakkatrina@users.noreply.github.com> Date: Thu, 16 Jan 2025 08:09:58 +0000 Subject: [PATCH] Update missed test --- spec/models/form/lettings/pages/rent_type_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/models/form/lettings/pages/rent_type_spec.rb b/spec/models/form/lettings/pages/rent_type_spec.rb index 3cec8e01e..08cd3ef6d 100644 --- a/spec/models/form/lettings/pages/rent_type_spec.rb +++ b/spec/models/form/lettings/pages/rent_type_spec.rb @@ -11,6 +11,7 @@ RSpec.describe Form::Lettings::Pages::RentType, type: :model do before do allow(subsection).to receive(:form).and_return(form) allow(form).to receive(:start_year_2024_or_later?).and_return(true) + allow(form).to receive(:start_year_2025_or_later?).and_return(false) end it "has correct subsection" do