From cabd8fcd37a6c346cab5daebf5fa329e1080091f Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 11 May 2023 17:10:57 +0100 Subject: [PATCH] feat: update tests --- spec/models/form/lettings/pages/max_rent_value_check_spec.rb | 2 +- spec/models/form/lettings/pages/min_rent_value_check_spec.rb | 2 +- spec/models/form/sales/pages/about_price_value_check_spec.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/models/form/lettings/pages/max_rent_value_check_spec.rb b/spec/models/form/lettings/pages/max_rent_value_check_spec.rb index 5d803252b..7bcc87913 100644 --- a/spec/models/form/lettings/pages/max_rent_value_check_spec.rb +++ b/spec/models/form/lettings/pages/max_rent_value_check_spec.rb @@ -36,6 +36,6 @@ RSpec.describe Form::Lettings::Pages::MaxRentValueCheck, type: :model do end it "has the correct interruption_screen_question_ids" do - expect(page.interruption_screen_question_ids).to eq(%w[brent startdate la beds rent_type needstype]) + expect(page.interruption_screen_question_ids).to eq(%w[brent startdate uprn postcode_full la beds rent_type needstype]) end end diff --git a/spec/models/form/lettings/pages/min_rent_value_check_spec.rb b/spec/models/form/lettings/pages/min_rent_value_check_spec.rb index e4b6b5478..bc3c6a081 100644 --- a/spec/models/form/lettings/pages/min_rent_value_check_spec.rb +++ b/spec/models/form/lettings/pages/min_rent_value_check_spec.rb @@ -54,6 +54,6 @@ RSpec.describe Form::Lettings::Pages::MinRentValueCheck, type: :model do end it "has the correct interruption_screen_question_ids" do - expect(page.interruption_screen_question_ids).to eq(%w[brent startdate la beds rent_type needstype]) + expect(page.interruption_screen_question_ids).to eq(%w[brent startdate uprn postcode_full la beds rent_type needstype]) end end diff --git a/spec/models/form/sales/pages/about_price_value_check_spec.rb b/spec/models/form/sales/pages/about_price_value_check_spec.rb index 881969703..7b7099681 100644 --- a/spec/models/form/sales/pages/about_price_value_check_spec.rb +++ b/spec/models/form/sales/pages/about_price_value_check_spec.rb @@ -53,6 +53,6 @@ RSpec.describe Form::Sales::Pages::AboutPriceValueCheck, type: :model do end it "has the correct interruption_screen_question_ids" do - expect(page.interruption_screen_question_ids).to eq(%w[value beds la]) + expect(page.interruption_screen_question_ids).to eq(%w[value beds uprn postcode_full la]) end end