From 7f6001e1aeb0301c5d81d9bff3f3f7e613fda8bc Mon Sep 17 00:00:00 2001 From: davidgisbey Date: Tue, 14 Jun 2022 11:06:52 +0100 Subject: [PATCH] Fix failing test which uses incorrect helper method This was accidentally missed as part of https://github.com/alphagov/government-frontend/pull/2460. It uses the helper method for publications when it should be using the HTML Publication helper method. --- test/integration/html_publication_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/html_publication_test.rb b/test/integration/html_publication_test.rb index 6e417ca5c..879e9c00e 100644 --- a/test/integration/html_publication_test.rb +++ b/test/integration/html_publication_test.rb @@ -118,7 +118,7 @@ def assert_has_component_organisation_logo_with_brand(brand, index = 1) end test "HTML publication that only applies to a set of nations, with alternative urls" do - setup_and_visit_content_item("national_applicability_alternative_url_html_publication") + setup_and_visit_html_publication("national_applicability_alternative_url_html_publication") assert_has_devolved_nations_component("Applies to England, Scotland and Wales", [ { text: "Publication for Northern Ireland",