From 8c9bd26f4db7f214d2af58e9747b7895aee52059 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Tue, 15 Oct 2024 14:53:11 +0100 Subject: [PATCH] Remove tests --- spec/models/form/sales/questions/uprn_confirmation_spec.rb | 4 ---- spec/models/form/sales/questions/uprn_known_spec.rb | 4 ---- 2 files changed, 8 deletions(-) diff --git a/spec/models/form/sales/questions/uprn_confirmation_spec.rb b/spec/models/form/sales/questions/uprn_confirmation_spec.rb index ddb047937..236714830 100644 --- a/spec/models/form/sales/questions/uprn_confirmation_spec.rb +++ b/spec/models/form/sales/questions/uprn_confirmation_spec.rb @@ -23,10 +23,6 @@ RSpec.describe Form::Sales::Questions::UprnConfirmation, type: :model do expect(question.derived?(nil)).to be false end - it "has the correct unanswered_error_message" do - expect(question.unanswered_error_message).to eq("You must answer is this the right address?") - end - describe "notification_banner" do context "when address is not present" do it "returns nil" do diff --git a/spec/models/form/sales/questions/uprn_known_spec.rb b/spec/models/form/sales/questions/uprn_known_spec.rb index d3a91a3ef..9304d4b76 100644 --- a/spec/models/form/sales/questions/uprn_known_spec.rb +++ b/spec/models/form/sales/questions/uprn_known_spec.rb @@ -34,10 +34,6 @@ RSpec.describe Form::Sales::Questions::UprnKnown, type: :model do expect(question.conditional_for).to eq({ "uprn" => [1] }) end - it "has the correct unanswered_error_message" do - expect(question.unanswered_error_message).to eq("You must answer UPRN known?") - end - it "has the correct hidden_in_check_answers" do expect(question.hidden_in_check_answers).to eq({ "depends_on" => [