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 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)