Skip to content

Commit

Permalink
Merge pull request #4043 from alphagov/2534-standardise-telephone-num…
Browse files Browse the repository at this point in the history
…bers-across-places-views-m

Standardise telephone numbers across places views
  • Loading branch information
unoduetre committed May 7, 2024
2 parents e968a55 + a3b9ac3 commit 1892474
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/place/_option_dsa_assessment_centre.html.erb
Expand Up @@ -24,7 +24,7 @@
<% if place["phone"].present? %>
<p class="govuk-body">
Phone: <%= place["phone"] %>
Telephone: <%= place["phone"] %>
</p>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/place/_place.html.erb
Expand Up @@ -43,7 +43,7 @@
<% end %>
<% if place["phone"].present? %>
<p class="govuk-body">Phone: <%= place["phone"] %></p>
<p class="govuk-body">Telephone: <%= place["phone"] %></p>
<% end %>
<% if place["fax"].present? %>
Expand Down
2 changes: 1 addition & 1 deletion test/integration/place_test.rb
Expand Up @@ -148,7 +148,7 @@ class PlacesTest < ActionDispatch::IntegrationTest
assert page.has_content?("SW1V 1PN")

assert page.has_link?("http://www.example.com/london_ips_office", href: "http://www.example.com/london_ips_office")
assert page.has_content?("Phone: 0800 123 4567")
assert page.has_content?("Telephone: 0800 123 4567")

assert page.has_content?("Monday to Saturday 8.00am - 6.00pm.")
assert page.has_content?("The London Passport Office is fully accessible to wheelchair users.")
Expand Down

0 comments on commit 1892474

Please sign in to comment.