Browse Source

Correctly failing spec

pull/235/head
baarkerlounger 3 years ago
parent
commit
03af9e926f
  1. 2
      spec/features/form/conditional_questions_spec.rb

2
spec/features/form/conditional_questions_spec.rb

@ -34,7 +34,7 @@ RSpec.describe "Form Conditional Questions" do
choose("case-log-armedforces-no-field", allow_label_click: true)
expect(page).not_to have_field("case-log-leftreg-field")
choose("case-log-armedforces-a-current-or-former-regular-in-the-uk-armed-forces-excluding-national-service-field", allow_label_click: true)
expect(page).to have_css("#case-log-leftreg-field", text: "")
expect(page).to have_field("case-log-leftreg-field", with: "")
end
end
end

Loading…
Cancel
Save