From 7fcf07bb590971c421a17a45abce56f75aafc76b Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Tue, 7 Nov 2023 16:14:23 +0000 Subject: [PATCH] CLDC-2863: remove full stop from service moved page title --- app/views/maintenance/service_moved.html.erb | 2 +- spec/requests/maintenance_controller_spec.rb | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/views/maintenance/service_moved.html.erb b/app/views/maintenance/service_moved.html.erb index 30ee3a73e..44aff91d1 100644 --- a/app/views/maintenance/service_moved.html.erb +++ b/app/views/maintenance/service_moved.html.erb @@ -1,5 +1,5 @@

- The URL for this service has changed. + The URL for this service has changed

diff --git a/spec/requests/maintenance_controller_spec.rb b/spec/requests/maintenance_controller_spec.rb index 8c603fed4..4d7f8ab8c 100644 --- a/spec/requests/maintenance_controller_spec.rb +++ b/spec/requests/maintenance_controller_spec.rb @@ -21,7 +21,7 @@ RSpec.describe MaintenanceController, type: :request do it "redirects the user to the service moved page" do expect(response).to redirect_to(service_moved_path) follow_redirect! - expect(page).to have_content("The URL for this service has changed.") + expect(page).to have_content("The URL for this service has changed") end it "the cookie banner is visible" do @@ -37,7 +37,7 @@ RSpec.describe MaintenanceController, type: :request do it "keeps the user on the service moved page" do expect(response).not_to redirect_to(service_moved_path) - expect(page).to have_content("The URL for this service has changed.") + expect(page).to have_content("The URL for this service has changed") end it "the cookie banner is visible" do @@ -98,7 +98,7 @@ RSpec.describe MaintenanceController, type: :request do it "redirects the user to the service moved page" do expect(response).to redirect_to(service_moved_path) follow_redirect! - expect(page).to have_content("The URL for this service has changed.") + expect(page).to have_content("The URL for this service has changed") end it "the cookie banner is visible" do @@ -114,7 +114,7 @@ RSpec.describe MaintenanceController, type: :request do it "keeps the user on the service moved page" do expect(response).not_to redirect_to(service_moved_path) - expect(page).to have_content("The URL for this service has changed.") + expect(page).to have_content("The URL for this service has changed") end it "the cookie banner is visible" do