From 203e4b41bd2b768aee019983bbe6c20da5d2468e Mon Sep 17 00:00:00 2001 From: chao-xian Date: Fri, 3 Mar 2023 17:01:17 +0000 Subject: [PATCH] Update Cost of living survey link --- app/presenters/content_item/cost_of_living_banner.rb | 2 +- app/views/layouts/application.html.erb | 2 +- test/integration/cost_of_living_banner_test.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/presenters/content_item/cost_of_living_banner.rb b/app/presenters/content_item/cost_of_living_banner.rb index 8eac8b89c..6200d04f5 100644 --- a/app/presenters/content_item/cost_of_living_banner.rb +++ b/app/presenters/content_item/cost_of_living_banner.rb @@ -1,6 +1,6 @@ module ContentItem module CostOfLivingBanner - COST_OF_LIVING_SURVEY_URL = "https://surveys.publishing.service.gov.uk/s/XS2YWV/".freeze + COST_OF_LIVING_SURVEY_URL = "https://s.userzoom.com/m/MSBDMTQ3MVM0NCAg".freeze SURVEY_URL_MAPPINGS = { "/guidance/cost-of-living-payment" => COST_OF_LIVING_SURVEY_URL, diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 2ddb1907e..8d2f566c2 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -64,7 +64,7 @@ <% if @content_item.survey_url %> <%= render "govuk_publishing_components/components/intervention", { - suggestion_text: "Help improve GOV.UK", + suggestion_text: "Help make GOV.UK better", suggestion_link_text: "Take part in user research", suggestion_link_url: @content_item.survey_url, new_tab: true, diff --git a/test/integration/cost_of_living_banner_test.rb b/test/integration/cost_of_living_banner_test.rb index ddb6867c0..9555b730c 100644 --- a/test/integration/cost_of_living_banner_test.rb +++ b/test/integration/cost_of_living_banner_test.rb @@ -27,7 +27,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest visit guide["base_path"] assert page.has_css?(".gem-c-intervention") - assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/XS2YWV/") + assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://s.userzoom.com/m/MSBDMTQ3MVM0NCAg") end end @@ -38,6 +38,6 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest visit guide["base_path"] assert_not page.has_css?(".gem-c-intervention") - assert_not page.has_link?("Take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/XS2YWV/") + assert_not page.has_link?("Take part in user research (opens in a new tab)", href: "https://s.userzoom.com/m/MSBDMTQ3MVM0NCAg") end end