Browse Source

test

pull/780/head
JG 3 years ago
parent
commit
afddfa8724
  1. 7
      spec/features/form/check_answers_page_spec.rb

7
spec/features/form/check_answers_page_spec.rb

@ -144,6 +144,13 @@ RSpec.describe "Form Check Answers Page" do
expect(page).to have_content("Location")
expect(page).to have_content(location.name)
end
it "displays inferred postcode with the location_admin_district" do
case_log.update!(location:)
visit("/logs/#{id}/setup/check-answers")
expect(page).to have_content("Location")
expect(page).to have_content(location.location_admin_district)
end
end
context "when the user changes their answer from check answer page" do

Loading…
Cancel
Save