Skip to content

Commit

Permalink
Fix failing test which uses incorrect helper method
Browse files Browse the repository at this point in the history
This was accidentally missed as part of
#2460. It uses
the helper method for publications when it should be using the HTML
Publication helper method.
  • Loading branch information
davidgisbey committed Jun 14, 2022
1 parent cf1efc7 commit 7f6001e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/html_publication_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7f6001e

Please sign in to comment.