diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 19af05162..6c1f6d473 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -33,7 +33,7 @@ <%= govuk_header( logotype: 'GOV.UK', - service_name: 'Share Lettings and Sales for Social Housing in England Data with DLUHC', + service_name: t('service_name'), service_url: '/' ) do |component| if current_user.nil? diff --git a/config/locales/en.yml b/config/locales/en.yml index cf9b342d0..957b67284 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -30,4 +30,4 @@ # available at https://guides.rubyonrails.org/i18n.html. en: - hello: "Hello world" + service_name: "Log social housing lettings and sales (CORE)" diff --git a/spec/features/test_spec.rb b/spec/features/test_spec.rb index a17336378..b54b08919 100644 --- a/spec/features/test_spec.rb +++ b/spec/features/test_spec.rb @@ -2,7 +2,7 @@ require "rails_helper" RSpec.describe "Test Features" do it "Displays the name of the app" do visit("/") - expect(page).to have_content("Share Lettings and Sales for Social Housing in England Data with DLUHC") + expect(page).to have_content("Log social housing lettings and sales (CORE)") end it "Links to the About page" do