From af4201f098a18421dbf22716b844f5f0e440a7fe Mon Sep 17 00:00:00 2001 From: Jessica Jones Date: Fri, 22 Mar 2024 09:54:38 +0000 Subject: [PATCH] Update test missed from https://github.com/alphagov/govuk_publishing_components/pull/3944 --- CHANGELOG.md | 2 +- spec/features/contextual_navigation_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4e2b40c9a2..cfa21f4360 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ ## Unreleased -* Improve test coverage of contextual breadcrumb logic ([PR #3944](https://github.com/alphagov/govuk_publishing_components/pull/3944)) +* Improve test coverage of contextual breadcrumb logic ([PR #3944](https://github.com/alphagov/govuk_publishing_components/pull/3944) and [PR #3945](https://github.com/alphagov/govuk_publishing_components/pull/3945)) ## 37.9.1 diff --git a/spec/features/contextual_navigation_spec.rb b/spec/features/contextual_navigation_spec.rb index 89e787ef54..423ad9a9db 100644 --- a/spec/features/contextual_navigation_spec.rb +++ b/spec/features/contextual_navigation_spec.rb @@ -33,7 +33,7 @@ given_theres_a_page_tagged_to_browse_without_a_browse_parent and_i_visit_that_page then_i_see_the_browse_page_in_the_footer - then_i_see_the_topic_breadcrumb + and_the_taxonomy_breadcrumbs end scenario "Foreign travel advice content" do @@ -273,7 +273,7 @@ def given_theres_a_page_tagged_to_browse_with_a_browse_parent def given_theres_a_page_tagged_to_browse_without_a_browse_parent content_store_has_random_item( links: { - "topics" => [topic_item], + "taxons" => [taxon_item], "mainstream_browse_pages" => [example_item("mainstream_browse_page", "root_page")], }, )