Browse Source

Update service name

pull/132/head
Paul Robert Lloyd 3 years ago
parent
commit
01a3bd4802
  1. 2
      app/views/layouts/application.html.erb
  2. 2
      config/locales/en.yml
  3. 2
      spec/features/test_spec.rb

2
app/views/layouts/application.html.erb

@ -33,7 +33,7 @@
<%= govuk_header( <%= govuk_header(
logotype: 'GOV.UK', logotype: 'GOV.UK',
service_name: 'Share Lettings and Sales for Social Housing in England Data with DLUHC', service_name: t('service_name'),
service_url: '/' service_url: '/'
) do |component| ) do |component|
if current_user.nil? if current_user.nil?

2
config/locales/en.yml

@ -30,4 +30,4 @@
# available at https://guides.rubyonrails.org/i18n.html. # available at https://guides.rubyonrails.org/i18n.html.
en: en:
hello: "Hello world" service_name: "Log social housing lettings and sales (CORE)"

2
spec/features/test_spec.rb

@ -2,7 +2,7 @@ require "rails_helper"
RSpec.describe "Test Features" do RSpec.describe "Test Features" do
it "Displays the name of the app" do it "Displays the name of the app" do
visit("/") 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 end
it "Links to the About page" do it "Links to the About page" do

Loading…
Cancel
Save