Skip to content

Commit

Permalink
Update survey link
Browse files Browse the repository at this point in the history
  • Loading branch information
AgaDufrat committed Aug 1, 2022
1 parent eddf298 commit a41ec16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/presenters/content_item/recruitment_banner.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module ContentItem
module RecruitmentBanner
SURVEY_URL_ONE = "https://GDSUserResearch.optimalworkshop.com/treejack/61ec38b742396bc23d00104953ffb17d".freeze
SURVEY_URL_ONE = "https://GDSUserResearch.optimalworkshop.com/treejack/834dm2s6".freeze
SURVEY_URLS = {
"/browse/working" => SURVEY_URL_ONE,
}.freeze
Expand Down
4 changes: 2 additions & 2 deletions test/integration/recruitment_banner_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,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://GDSUserResearch.optimalworkshop.com/treejack/61ec38b742396bc23d00104953ffb17d")
assert page.has_link?("Take part in user research (opens in a new tab)", href: "https://GDSUserResearch.optimalworkshop.com/treejack/834dm2s6")
end

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

assert_not page.has_css?(".gem-c-intervention")
assert_not page.has_link?("Take part in user research", href: "https://GDSUserResearch.optimalworkshop.com/treejack/61ec38b742396bc23d00104953ffb17d")
assert_not page.has_link?("Take part in user research", href: "https://GDSUserResearch.optimalworkshop.com/treejack/834dm2s6")
end
end

0 comments on commit a41ec16

Please sign in to comment.