Skip to content

Commit 28ad905

Browse files
committed
Update text for email alert subscription link
The default wording for the email alert subscription link was updated to no longer include the term "alert". This is causing TravelAdviceTest to fail on this branch, as this test is checking for the now out-of-date link text.
1 parent e7366fe commit 28ad905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/travel_advice_test.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TravelAdviceTest < ActionDispatch::IntegrationTest
1111
assert page.has_css?("title", visible: false, text: @content_item["title"])
1212
assert_has_component_title(@content_item["details"]["country"]["name"])
1313

14-
assert page.has_css?("a[href=\"#{@content_item['details']['email_signup_link']}\"]", text: "Get email alerts")
14+
assert page.has_css?("a[href=\"#{@content_item['details']['email_signup_link']}\"]", text: "Get emails")
1515
assert page.has_css?("a[href=\"#{@content_item['base_path']}.atom\"]", text: "Subscribe to feed")
1616

1717
assert page.has_css?(".part-navigation li", count: @content_item["details"]["parts"].size + 1)

0 commit comments

Comments
 (0)