From a772cd680ef16592a0327b2fc6562843f61a0a3a Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 31 Jan 2022 15:27:38 +0000 Subject: [PATCH] fix conditional questions spec offences --- spec/features/form/conditional_questions_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/form/conditional_questions_spec.rb b/spec/features/form/conditional_questions_spec.rb index aa3194380..9cc6215f5 100644 --- a/spec/features/form/conditional_questions_spec.rb +++ b/spec/features/form/conditional_questions_spec.rb @@ -20,7 +20,7 @@ RSpec.describe "Form Conditional Questions" do sign_in user end - context "given a page where some questions are only conditionally shown, depending on how you answer the first question" do + context "with a page where some questions are only conditionally shown, depending on how you answer the first question" do it "initially hides conditional questions" do visit("/logs/#{id}/armed-forces") expect(page).not_to have_selector("#armed_forces_injured_div")