Browse Source

Update check answers test expected num of questions

pull/2136/head
Rachael Booth 2 years ago
parent
commit
fea579a2d3
  1. 2
      spec/helpers/check_answers_helper_spec.rb

2
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

Loading…
Cancel
Save