Browse Source

feat: update tests

pull/1993/head
natdeanlewissoftwire 3 years ago
parent
commit
dd14dcd6f7
  1. 2
      spec/models/form/lettings/pages/max_rent_value_check_spec.rb
  2. 2
      spec/models/form/lettings/pages/min_rent_value_check_spec.rb

2
spec/models/form/lettings/pages/max_rent_value_check_spec.rb

@ -32,6 +32,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 uprn postcode_full la beds rent_type needstype])
expect(page.interruption_screen_question_ids).to eq(%w[brent startdate uprn postcode_full la beds rent_type needstype period])
end
end

2
spec/models/form/lettings/pages/min_rent_value_check_spec.rb

@ -41,6 +41,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 uprn postcode_full la beds rent_type needstype])
expect(page.interruption_screen_question_ids).to eq(%w[brent startdate uprn postcode_full la beds rent_type needstype period])
end
end

Loading…
Cancel
Save