Browse Source

Add savings saof validation page to the income subsection

pull/1102/head
Kat 4 years ago
parent
commit
69933bb6f3
  1. 1
      app/models/form/sales/subsections/income_benefits_and_savings.rb
  2. 1
      spec/models/form/sales/subsections/income_benefits_and_savings_spec.rb

1
app/models/form/sales/subsections/income_benefits_and_savings.rb

@ -19,6 +19,7 @@ class Form::Sales::Subsections::IncomeBenefitsAndSavings < ::Form::Subsection
Form::Sales::Pages::Buyer2Mortgage.new(nil, nil, self),
Form::Sales::Pages::MortgageValueCheck.new("buyer_2_mortgage_value_check", nil, self),
Form::Sales::Pages::Savings.new(nil, nil, self),
Form::Sales::Pages::SavingsValueCheck.new("savings_value_check", nil, self),
Form::Sales::Pages::PreviousOwnership.new(nil, nil, self),
]
end

1
spec/models/form/sales/subsections/income_benefits_and_savings_spec.rb

@ -24,6 +24,7 @@ RSpec.describe Form::Sales::Subsections::IncomeBenefitsAndSavings, type: :model
buyer_2_mortgage
buyer_2_mortgage_value_check
savings
savings_value_check
previous_ownership
],
)

Loading…
Cancel
Save