Browse Source

Remove check for "Location" check answer label

pull/2723/head
Manny Dinssa 2 years ago
parent
commit
12230f06c0
  1. 2
      spec/features/form/check_answers_page_lettings_logs_spec.rb

2
spec/features/form/check_answers_page_lettings_logs_spec.rb

@ -167,14 +167,12 @@ RSpec.describe "Lettings Log Check Answers Page" do
it "displays inferred postcode with the location id" do it "displays inferred postcode with the location id" do
lettings_log.update!(location:) lettings_log.update!(location:)
visit("/lettings-logs/#{id}/setup/check-answers") visit("/lettings-logs/#{id}/setup/check-answers")
expect(page).to have_content("Location")
expect(page).to have_content(location.name) expect(page).to have_content(location.name)
end end
it "displays inferred postcode with the location_admin_district" do it "displays inferred postcode with the location_admin_district" do
lettings_log.update!(location:) lettings_log.update!(location:)
visit("/lettings-logs/#{id}/setup/check-answers") visit("/lettings-logs/#{id}/setup/check-answers")
expect(page).to have_content("Location")
expect(page).to have_content(location.location_admin_district) expect(page).to have_content(location.location_admin_district)
end end
end end

Loading…
Cancel
Save