Browse Source

Cldc 1525 buyer2 working situation (#930)

* feat: add functionality

* tests: make tests pass

* tests: add new tests

* feat: update schema

* tests: update tests

* feat: fix order of pages

* feat: fix order of pages
CLDC-1627-check-your-answers-page-changes
natdeanlewissoftwire 2 years ago committed by GitHub
parent
commit
3ef5408451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/sales/subsections/household_characteristics.rb
  2. 2
      spec/models/form/sales/subsections/household_characteristics_spec.rb

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

@ -22,8 +22,8 @@ class Form::Sales::Subsections::HouseholdCharacteristics < ::Form::Subsection
Form::Sales::Pages::Buyer1EthnicBackgroundWhite.new(nil, nil, self),
Form::Sales::Pages::Age2.new(nil, nil, self),
Form::Sales::Pages::GenderIdentity2.new(nil, nil, self),
Form::Sales::Pages::Buyer2LiveInProperty.new(nil, nil, self),
Form::Sales::Pages::Buyer2WorkingSituation.new(nil, nil, self),
Form::Sales::Pages::Buyer2LiveInProperty.new(nil, nil, self),
]
end
end

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

@ -27,8 +27,8 @@ RSpec.describe Form::Sales::Subsections::HouseholdCharacteristics, type: :model
buyer_1_ethnic_background_white
buyer_2_age
buyer_2_gender_identity
buyer_2_live_in_property
buyer_2_working_situation
buyer_2_live_in_property
],
)
end

Loading…
Cancel
Save