Skip to content

Commit

Permalink
Remove rummager references
Browse files Browse the repository at this point in the history
Search is not used in sidebar navigation anymore
  • Loading branch information
sihugh committed Sep 5, 2019
1 parent eaa633d commit eac3dfa
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 75 deletions.
64 changes: 0 additions & 64 deletions docs/navigation-links.md

This file was deleted.

1 change: 0 additions & 1 deletion test/controllers/content_items_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

class ContentItemsControllerTest < ActionController::TestCase
include GdsApi::TestHelpers::ContentStore
include GdsApi::TestHelpers::Rummager
include GovukAbTesting::MinitestHelpers

test 'routing handles paths with no format or locale' do
Expand Down
9 changes: 0 additions & 9 deletions test/integration/specialist_document_test.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,6 @@
require 'test_helper'

class SpecialistDocumentTest < ActionDispatch::IntegrationTest
include GdsApi::TestHelpers::Rummager

setup do
stub_any_rummager_search
end

test "random but valid specialist documents do not error" do
setup_and_visit_random_content_item(document_type: 'aaib_report')
setup_and_visit_random_content_item(document_type: 'raib_report')
Expand Down Expand Up @@ -177,9 +171,6 @@ def assert_nested_content_item(heading)
end

test 'renders a link to statutory instruments finder' do
# Statutory instruments are tagged to taxonomy so stub rummager request for similar content
# which is triggered by the sidebar component.
stub_request(:get, /\/search.json/).to_return(status: 200, body: "{}", headers: {})
setup_and_visit_content_item('eu-withdrawal-act-2018-statutory-instruments')

assert page.has_css?("a[href='/eu-withdrawal-act-2018-statutory-instruments']",
Expand Down
1 change: 0 additions & 1 deletion test/support/govuk_content_schema_examples.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require 'gds_api/test_helpers/content_store'
require 'gds_api/test_helpers/rummager'

# Include this module to get access to the GOVUK Content Schema examples in the
# tests.
Expand Down

0 comments on commit eac3dfa

Please sign in to comment.