From dc2c7d5d8df6e21e2ec228dea1abeccb9eb0ff9f Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Mon, 7 Oct 2024 11:52:44 +0100 Subject: [PATCH] ...and again --- .../form/sales/questions/privacy_notice_spec.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/spec/models/form/sales/questions/privacy_notice_spec.rb b/spec/models/form/sales/questions/privacy_notice_spec.rb index 9242804ae..b862c9ff0 100644 --- a/spec/models/form/sales/questions/privacy_notice_spec.rb +++ b/spec/models/form/sales/questions/privacy_notice_spec.rb @@ -23,14 +23,6 @@ RSpec.describe Form::Sales::Questions::PrivacyNotice, type: :model do expect(question.id).to eq("privacynotice") end - it "has the correct header" do - expect(question.header).to eq("Declaration") - end - - it "has the correct check_answer_label" do - expect(question.check_answer_label).to eq("Buyer has seen the privacy notice?") - end - it "has the correct type" do expect(question.type).to eq("checkbox") end @@ -39,10 +31,6 @@ RSpec.describe Form::Sales::Questions::PrivacyNotice, type: :model do expect(question.derived?(nil)).to be false end - it "has the correct hint" do - expect(question.hint_text).to be_nil - end - context "when the form year is before 2024" do before do allow(form).to receive(:start_year_after_2024?).and_return(false)