Browse Source

Move exchange contracts date page (#1143)

pull/1106/head
kosiakkatrina 3 years ago committed by GitHub
parent
commit
95949ceb10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/sales/subsections/shared_ownership_scheme.rb
  2. 2
      spec/models/form/sales/subsections/shared_ownership_scheme_spec.rb

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

@ -13,6 +13,7 @@ class Form::Sales::Subsections::SharedOwnershipScheme < ::Form::Subsection
Form::Sales::Pages::Staircase.new(nil, nil, self),
Form::Sales::Pages::AboutStaircase.new(nil, nil, self),
Form::Sales::Pages::Resale.new(nil, nil, self),
Form::Sales::Pages::ExchangeDate.new(nil, nil, self),
Form::Sales::Pages::LaNominations.new(nil, nil, self),
Form::Sales::Pages::BuyerPrevious.new(nil, nil, self),
Form::Sales::Pages::PreviousBedrooms.new(nil, nil, self),
@ -20,7 +21,6 @@ class Form::Sales::Subsections::SharedOwnershipScheme < ::Form::Subsection
Form::Sales::Pages::MortgageAmount.new("mortgage_amount_shared_ownership", nil, self),
Form::Sales::Pages::AboutDeposit.new("about_deposit_shared_ownership", nil, self),
Form::Sales::Pages::MonthlyRent.new(nil, nil, self),
Form::Sales::Pages::ExchangeDate.new(nil, nil, self),
]
end

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

@ -18,6 +18,7 @@ RSpec.describe Form::Sales::Subsections::SharedOwnershipScheme, type: :model do
staircasing
about_staircasing
resale
exchange_contracts
la_nominations
buyer_previous
previous_bedrooms
@ -25,7 +26,6 @@ RSpec.describe Form::Sales::Subsections::SharedOwnershipScheme, type: :model do
mortgage_amount_shared_ownership
about_deposit_shared_ownership
monthly_rent
exchange_contracts
],
)
end

Loading…
Cancel
Save