From b48f5ab42204effc2887387fc827f3480bc40fd7 Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Mon, 7 Oct 2024 11:40:17 +0100 Subject: [PATCH] And again... --- .../form/sales/questions/number_joint_buyers_spec.rb | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/spec/models/form/sales/questions/number_joint_buyers_spec.rb b/spec/models/form/sales/questions/number_joint_buyers_spec.rb index e02d271c2..9529b3aac 100644 --- a/spec/models/form/sales/questions/number_joint_buyers_spec.rb +++ b/spec/models/form/sales/questions/number_joint_buyers_spec.rb @@ -36,14 +36,4 @@ RSpec.describe Form::Sales::Questions::NumberJointBuyers, type: :model do "3" => { "value" => "Don’t know" }, }) end - - context "with 2024 form" do - before do - allow(subsection).to receive(:form).and_return(instance_double(Form, start_year_after_2024?: true, start_date: Time.zone.local(2024, 4, 1))) - end - - it "has no hint_text" do - expect(question.hint_text).to be_nil - end - end end