From 64acabb994d823745796468c4d4d03f2d3835621 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Tue, 18 Feb 2025 16:08:21 +0000 Subject: [PATCH] update model tests --- .../subsections/property_information_spec.rb | 13 +------------ .../sales/subsections/property_information_spec.rb | 10 ---------- 2 files changed, 1 insertion(+), 22 deletions(-) diff --git a/spec/models/form/lettings/subsections/property_information_spec.rb b/spec/models/form/lettings/subsections/property_information_spec.rb index 40d3cc3d4..9c5618d26 100644 --- a/spec/models/form/lettings/subsections/property_information_spec.rb +++ b/spec/models/form/lettings/subsections/property_information_spec.rb @@ -29,8 +29,7 @@ RSpec.describe Form::Lettings::Subsections::PropertyInformation, type: :model do it "has correct pages" do expect(property_information.pages.map(&:id)).to eq( %w[ - uprn - uprn_confirmation + address_search address property_local_authority local_authority_rent_value_check @@ -64,12 +63,7 @@ RSpec.describe Form::Lettings::Subsections::PropertyInformation, type: :model do it "has correct pages" do expect(property_information.pages.map(&:id)).to eq( %w[ - uprn - uprn_confirmation address_search - address_matcher - no_address_found - uprn_selection address property_local_authority local_authority_rent_value_check @@ -102,12 +96,7 @@ RSpec.describe Form::Lettings::Subsections::PropertyInformation, type: :model do it "has correct pages" do expect(property_information.pages.map(&:id)).to eq( %w[ - uprn - uprn_confirmation address_search - address_matcher - no_address_found - uprn_selection address property_local_authority local_authority_rent_value_check diff --git a/spec/models/form/sales/subsections/property_information_spec.rb b/spec/models/form/sales/subsections/property_information_spec.rb index 446c363c5..7585d290a 100644 --- a/spec/models/form/sales/subsections/property_information_spec.rb +++ b/spec/models/form/sales/subsections/property_information_spec.rb @@ -55,12 +55,7 @@ RSpec.describe Form::Sales::Subsections::PropertyInformation, type: :model do it "has correct pages" do expect(property_information.pages.map(&:id)).to eq( %w[ - uprn - uprn_confirmation address_search - address_matcher - no_address_found - uprn_selection address property_local_authority local_authority_buyer_1_income_max_value_check @@ -90,12 +85,7 @@ RSpec.describe Form::Sales::Subsections::PropertyInformation, type: :model do it "has correct pages" do expect(property_information.pages.map(&:id)).to eq( %w[ - uprn - uprn_confirmation address_search - address_matcher - no_address_found - uprn_selection address property_local_authority local_authority_buyer_1_income_max_value_check