From fea579a2d3dbb6eea92e1d8b6e43beb6b9581c7c Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Wed, 17 Jan 2024 17:15:31 +0000 Subject: [PATCH] Update check answers test expected num of questions --- spec/helpers/check_answers_helper_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/helpers/check_answers_helper_spec.rb b/spec/helpers/check_answers_helper_spec.rb index bc9382127..baa26ca44 100644 --- a/spec/helpers/check_answers_helper_spec.rb +++ b/spec/helpers/check_answers_helper_spec.rb @@ -17,7 +17,7 @@ RSpec.describe CheckAnswersHelper do context "when a section hasn't been completed yet" do it "returns that you have unanswered questions" do expect(display_answered_questions_summary(subsection, lettings_log, current_user)) - .to match(/You have answered 2 of 7 questions./) + .to match(/You have answered 4 of 10 questions./) end end