Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove rummager references #1468

Merged
merged 1 commit into from
Sep 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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