Browse Source

fix conditional questions spec offences

pull/264/head
Kat 3 years ago
parent
commit
a772cd680e
  1. 2
      spec/features/form/conditional_questions_spec.rb

2
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")

Loading…
Cancel
Save