Browse Source

fixup! CLDC-4202: Extract person question count to the form definition

lint
CLDC-4202-update-question-numbers
Samuel Young 1 week ago
parent
commit
0033016484
  1. 2
      spec/models/form/lettings/questions/person_partner_spec.rb

2
spec/models/form/lettings/questions/person_partner_spec.rb

@ -18,7 +18,7 @@ RSpec.describe Form::Lettings::Questions::PersonPartner, type: :model do
start_date: year ? collection_start_date_for_year(year) : current_collection_start_date, start_date: year ? collection_start_date_for_year(year) : current_collection_start_date,
start_year_2025_or_later?: year.nil? || year >= 2025, start_year_2025_or_later?: year.nil? || year >= 2025,
start_year_2026_or_later?: year.nil? || year >= 2026, start_year_2026_or_later?: year.nil? || year >= 2026,
person_question_count: person_question_count:,
), ),
), ),
) )

Loading…
Cancel
Save