diff --git a/config/forms/test_form.json b/config/forms/test_form.json index 355919692..6da8edda0 100644 --- a/config/forms/test_form.json +++ b/config/forms/test_form.json @@ -148,17 +148,6 @@ "1": "No", "2": "Prefer not to say" } - }, - "armed_forces_partner": { - "header": "Was the tenant the spouse or civil partner of someone who served in the UK armed forces?", - "type": "radio", - "check_answer_label": "Was the tenant the spouse or civil partner of someone who served in the UK armed forces?", - "answer_options": { - "0": "Yes - was the spouse or civil partner of a UK Armed Forces member and have separated within the last 2 years", - "1": "Yes - was the spouse or civil partner of a UK Armed Forces member who died within the last 2 years", - "2": "No", - "3": "Prefer not to say" - } } } }, @@ -177,20 +166,6 @@ } } }, - "pregnancy": { - "questions": { - "pregnancy": { - "header": "Is anyone in the household pregnant?", - "type": "radio", - "check_answer_label": "Pregnancy in the household", - "answer_options": { - "0": "Yes", - "1": "No", - "2": "Prefer not to say" - } - } - } - }, "accessibility_requirements": { "questions": { "accessibility_requirements": { diff --git a/spec/helpers/check_answers_helper_spec.rb b/spec/helpers/check_answers_helper_spec.rb index 0ea7974bd..bdc768079 100644 --- a/spec/helpers/check_answers_helper_spec.rb +++ b/spec/helpers/check_answers_helper_spec.rb @@ -75,7 +75,7 @@ RSpec.describe CheckAnswersHelper do end it "ignores questions with unmet radio conditions" do - expect(total_number_of_questions(subsection_with_radio_conditionals, case_log, form)).to eq(6) + expect(total_number_of_questions(subsection_with_radio_conditionals, case_log, form)).to eq(4) end it "includes conditional questions with met radio conditions" do @@ -83,7 +83,7 @@ RSpec.describe CheckAnswersHelper do subsection_with_radio_conditionals, case_log_with_met_radio_condition, form, - )).to eq(8) + )).to eq(6) end context "conditional questions with type that hasn't been implemented yet" do