File tree 2 files changed +4
-4
lines changed
app/presenters/content_item
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
module ContentItem
2
2
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
4
4
SURVEY_URLS = {
5
5
"/browse/tax" => SURVEY_URL_ONE ,
6
6
"/browse/business" => SURVEY_URL_ONE ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest
16
16
visit guide [ "base_path" ]
17
17
18
18
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 " )
20
20
end
21
21
22
22
test "Recruitment Banner is displayed for any page tagged to Business and Self-employed" do
@@ -34,7 +34,7 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest
34
34
visit guide [ "base_path" ]
35
35
36
36
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 " )
38
38
end
39
39
40
40
test "Recruitment Banner is not displayed unless page is tagged to a topic of interest" do
@@ -51,6 +51,6 @@ class RecruitmentBannerTest < ActionDispatch::IntegrationTest
51
51
visit_with_cachebust guide [ "base_path" ]
52
52
53
53
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 " )
55
55
end
56
56
end
You can’t perform that action at this time.
0 commit comments