Skip to content

Commit 62d5832

Browse files
committed
Update survey URL in recruitment banner
1 parent ee9dcdc commit 62d5832

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/presenters/content_item/recruitment_banner.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module ContentItem
22
module RecruitmentBanner
3-
SURVEY_URL_ONE = "https://surveys.publishing.service.gov.uk/s/GY8Q11".freeze
3+
SURVEY_URL_ONE = "https://GDSUserResearch.optimalworkshop.com/treejack/724268fr-1-0-0-0".freeze
44
SURVEY_URLS = {
55
"/browse/tax" => SURVEY_URL_ONE,
66
"/browse/business" => SURVEY_URL_ONE,

test/integration/recruitment_banner_test.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest
1616
visit guide["base_path"]
1717

1818
assert page.has_css?(".gem-c-intervention")
19-
assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/GY8Q11")
19+
assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/724268fr-1-0-0-0")
2020
end
2121

2222
test "Recruitment Banner is displayed for any page tagged to Business and Self-employed" do
@@ -34,7 +34,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest
3434
visit guide["base_path"]
3535

3636
assert page.has_css?(".gem-c-intervention")
37-
assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://surveys.publishing.service.gov.uk/s/GY8Q11")
37+
assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/724268fr-1-0-0-0")
3838
end
3939

4040
test "Recruitment Banner is not displayed unless page is tagged to a topic of interest" do
@@ -51,6 +51,6 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest
5151
visit_with_cachebust guide["base_path"]
5252

5353
assert_not page.has_css?(".gem-c-intervention")
54-
assert_not page.has_link?("Take part in user research", href: "https://surveys.publishing.service.gov.uk/s/GY8Q11")
54+
assert_not page.has_link?("Take part in user research", href: "https://GDSUserResearch.optimalworkshop.com/treejack/724268fr-1-0-0-0")
5555
end
5656
end

0 commit comments

Comments
 (0)