From e7366fe99739f770312f30b71414269422bccb22 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 2 Dec 2020 17:36:52 +0000 Subject: [PATCH 1/2] Bump govuk_publishing_components from 23.7.3 to 23.7.6 Bumps [govuk_publishing_components](https://github.com/alphagov/govuk_publishing_components) from 23.7.3 to 23.7.6. - [Release notes](https://github.com/alphagov/govuk_publishing_components/releases) - [Changelog](https://github.com/alphagov/govuk_publishing_components/blob/master/CHANGELOG.md) - [Commits](https://github.com/alphagov/govuk_publishing_components/compare/v23.7.3...v23.7.6) Signed-off-by: dependabot[bot] --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 4217d13ed..c1d098bc4 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -117,7 +117,7 @@ GEM sentry-raven (~> 3.1.1) statsd-ruby (~> 1.4.0) unicorn (>= 5.4, < 5.8) - govuk_publishing_components (23.7.3) + govuk_publishing_components (23.7.6) govuk_app_config kramdown plek From 28ad905d7d00e6810d46f10e7161b7e6aaaac816 Mon Sep 17 00:00:00 2001 From: Dana Cotoran Date: Thu, 3 Dec 2020 11:51:44 +0000 Subject: [PATCH 2/2] Update text for email alert subscription link The default wording for the email alert subscription link was updated to no longer include the term "alert". This is causing TravelAdviceTest to fail on this branch, as this test is checking for the now out-of-date link text. --- test/integration/travel_advice_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/travel_advice_test.rb b/test/integration/travel_advice_test.rb index cb0011417..9ca9a6384 100644 --- a/test/integration/travel_advice_test.rb +++ b/test/integration/travel_advice_test.rb @@ -11,7 +11,7 @@ class TravelAdviceTest < ActionDispatch::IntegrationTest assert page.has_css?("title", visible: false, text: @content_item["title"]) assert_has_component_title(@content_item["details"]["country"]["name"]) - assert page.has_css?("a[href=\"#{@content_item['details']['email_signup_link']}\"]", text: "Get email alerts") + assert page.has_css?("a[href=\"#{@content_item['details']['email_signup_link']}\"]", text: "Get emails") assert page.has_css?("a[href=\"#{@content_item['base_path']}.atom\"]", text: "Subscribe to feed") assert page.has_css?(".part-navigation li", count: @content_item["details"]["parts"].size + 1)