diff --git a/app/views/shared/_travel_advice_first_part.html.erb b/app/views/shared/_travel_advice_first_part.html.erb index 3eae095e7..749aab3b7 100644 --- a/app/views/shared/_travel_advice_first_part.html.erb +++ b/app/views/shared/_travel_advice_first_part.html.erb @@ -4,7 +4,7 @@ " alt="<%= content_item.map["alt_text"] %>" class="map-image"> <% if content_item.map_download_url %>
- <%= render 'components/download_link', href: content_item.map_download_url, link_text: "Download map (PDF)" %> + <%= render 'components/download_link', href: content_item.map_download_url, link_text: "Download a more detailed map (PDF)" %>
<% end %> diff --git a/test/integration/travel_advice_test.rb b/test/integration/travel_advice_test.rb index 1352b72c7..34fe84be1 100644 --- a/test/integration/travel_advice_test.rb +++ b/test/integration/travel_advice_test.rb @@ -41,7 +41,7 @@ class TravelAdviceTest < ActionDispatch::IntegrationTest end assert page.has_css?(".map img[src=\"#{@content_item['details']['image']['url']}\"]") - assert page.has_css?(".map figcaption a[href=\"#{@content_item['details']['document']['url']}\"]", text: "Download map (PDF)") + assert page.has_css?(".map figcaption a[href=\"#{@content_item['details']['document']['url']}\"]", text: "Download a more detailed map (PDF)") end test "travel advice part renders just that part" do