From d4dd2ea7f28ef752964d076506a300862153e119 Mon Sep 17 00:00:00 2001 From: Manny Dinssa <44172848+Dinssa@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:43:36 +0100 Subject: [PATCH] Remove test --- .../check_answers_page_lettings_logs_spec.rb | 20 ------------------- 1 file changed, 20 deletions(-) diff --git a/spec/features/form/check_answers_page_lettings_logs_spec.rb b/spec/features/form/check_answers_page_lettings_logs_spec.rb index d435f8b7a..09fdd30a3 100644 --- a/spec/features/form/check_answers_page_lettings_logs_spec.rb +++ b/spec/features/form/check_answers_page_lettings_logs_spec.rb @@ -159,26 +159,6 @@ RSpec.describe "Lettings Log Check Answers Page" do end end - context "when viewing setup section answers" do - before do - FactoryBot.create(:location, scheme:, startdate: Time.zone.local(2021, 1, 1)) - end - - it "displays inferred postcode with the location id" do - lettings_log.update!(location:) - visit("/lettings-logs/#{id}/setup/check-answers") - expect(page).to have_content("Location") - expect(page).to have_content(location.name) - end - - it "displays inferred postcode with the location_admin_district" do - lettings_log.update!(location:) - visit("/lettings-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 it "routes back to check answers" do visit("/lettings-logs/#{empty_lettings_log.id}/accessibility-requirements")