From 11c4c1a1ba03cf284c20b5b72b863dbfa8e7e6f5 Mon Sep 17 00:00:00 2001 From: ColinBruce Date: Fri, 10 Jan 2025 10:31:26 +0000 Subject: [PATCH] Chore: Remove PLF routing TODOs These were added while the individual pages were implemented and can now be removed --- .../original_judge_levels_controller_spec.rb | 4 ++-- .../second_appeals_controller_spec.rb | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/requests/providers/application_merits_task/original_judge_levels_controller_spec.rb b/spec/requests/providers/application_merits_task/original_judge_levels_controller_spec.rb index 699851554a..d2270642c8 100644 --- a/spec/requests/providers/application_merits_task/original_judge_levels_controller_spec.rb +++ b/spec/requests/providers/application_merits_task/original_judge_levels_controller_spec.rb @@ -79,9 +79,9 @@ .to("district_judge") end - it "redirects to the next page", skip: "TODO: AP-5531/5532" do + it "redirects to the next page" do post_original_judge_level - expect(response).to redirect_to(:appeal_court_type) + expect(response).to redirect_to(providers_legal_aid_application_second_appeal_court_type_path) end end diff --git a/spec/requests/providers/application_merits_task/second_appeals_controller_spec.rb b/spec/requests/providers/application_merits_task/second_appeals_controller_spec.rb index e1e914168f..2fa4984c20 100644 --- a/spec/requests/providers/application_merits_task/second_appeals_controller_spec.rb +++ b/spec/requests/providers/application_merits_task/second_appeals_controller_spec.rb @@ -70,9 +70,9 @@ expect(legal_aid_application.reload.appeal.second_appeal).to be true end - it "redirects to the next page", skip: "TODO: AP-5530" do + it "redirects to the next page" do post_second_appeal - expect(response).to redirect_to(:second_appeal_court) + expect(response).to redirect_to(providers_legal_aid_application_second_appeal_court_type_path) end end @@ -88,9 +88,9 @@ expect(legal_aid_application.reload.appeal.second_appeal).to be false end - it "redirects to the next page", skip: "TODO: AP-5530" do + it "redirects to the next page" do post_second_appeal - expect(response).to redirect_to(:original_judge_level) + expect(response).to redirect_to(providers_legal_aid_application_original_judge_level_path) end end