From ae9d99eb6727df1fd59fb83e128a6549dfaec188 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Wed, 27 Jul 2022 10:57:03 +0100 Subject: [PATCH] Improve spec context description --- spec/models/form_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/form_spec.rb b/spec/models/form_spec.rb index 8e04333eb..291343cd9 100644 --- a/spec/models/form_spec.rb +++ b/spec/models/form_spec.rb @@ -149,7 +149,7 @@ RSpec.describe Form, type: :model do expect(form.next_incomplete_section_redirect_path(subsection, case_log)).to eq("household-needs/check-answers") end - it "returns the first page of the next incomplete subsection (skipping completed subsections)" do + it "returns the first page of the next incomplete subsection (skipping completed subsections, and pages that are not routed to)" do answer_household_needs(case_log) expect(form.next_incomplete_section_redirect_path(subsection, case_log)).to eq("property-postcode") end