Browse Source

CLDC-1467 show property_unit_type before property_building_type (#1181)

pull/1177/head
Jack 2 years ago committed by GitHub
parent
commit
e77b73b316
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/sales/subsections/property_information.rb
  2. 2
      spec/models/form/sales/subsections/property_information_spec.rb

2
app/models/form/sales/subsections/property_information.rb

@ -9,8 +9,8 @@ class Form::Sales::Subsections::PropertyInformation < ::Form::Subsection
def pages
@pages ||= [
Form::Sales::Pages::PropertyNumberOfBedrooms.new(nil, nil, self),
Form::Sales::Pages::PropertyBuildingType.new(nil, nil, self),
Form::Sales::Pages::PropertyUnitType.new(nil, nil, self),
Form::Sales::Pages::PropertyBuildingType.new(nil, nil, self),
Form::Sales::Pages::PropertyLocalAuthority.new(nil, nil, self),
Form::Sales::Pages::PropertyWheelchairAccessible.new(nil, nil, self),
]

2
spec/models/form/sales/subsections/property_information_spec.rb

@ -15,8 +15,8 @@ RSpec.describe Form::Sales::Subsections::PropertyInformation, type: :model do
expect(property_information.pages.map(&:id)).to eq(
%w[
property_number_of_bedrooms
property_building_type
property_unit_type
property_building_type
property_local_authority
property_wheelchair_accessible
],

Loading…
Cancel
Save