-
-<%= render 'shared/footer_navigation' %>
diff --git a/config/routes.rb b/config/routes.rb
index fcfcacce2..0eca6af76 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -11,9 +11,6 @@
get "healthcheck", to: proc { [200, {}, [""]] }
- # Testing guides as a single page so we redirect parts to the default page
- get "/voting-in-the-uk/:chapter", to: redirect("/voting-in-the-uk#%{chapter}")
-
get "*path/:variant" => "content_items#show",
constraints: {
variant: /print/,
diff --git a/test/integration/guide_test.rb b/test/integration/guide_test.rb
index 08777017d..633050311 100644
--- a/test/integration/guide_test.rb
+++ b/test/integration/guide_test.rb
@@ -112,24 +112,6 @@ class GuideTest < ActionDispatch::IntegrationTest
assert_nil faq_schema
end
- test "voting in the UK guide shows all chapters on a single page" do
- content_item = setup_and_visit_voting_guide
- part_titles = content_item["details"]["parts"].map { |part| part["title"] }
-
- part_titles.each do |part_title|
- assert page.has_css? "h1", text: part_title
- end
- end
-
- def setup_and_visit_voting_guide
- @content_item = get_content_example("guide").tap do |item|
- item["base_path"] = "/voting-in-the-uk"
- item["content_id"] = "9315bc67-33e7-42e9-8dea-e022f56dabfa"
- content_store_has_item(item["base_path"], item.to_json)
- visit_with_cachebust(item["base_path"])
- end
- end
-
def setup_and_visit_part_in_guide
@content_item = get_content_example("guide").tap do |item|
chapter_path = "#{item['base_path']}/key-stage-1-and-2"