Browse Source

Link to guidance from start page

pull/2121/head
Kat 2 years ago
parent
commit
9e932602e0
  1. 1
      app/views/start/index.html.erb
  2. 7
      spec/requests/start_controller_spec.rb

1
app/views/start/index.html.erb

@ -20,6 +20,7 @@
<p class="govuk-body">Use your account details to sign in.</p>
<p class="govuk-body">If you need to set up a new account, speak to your organisation’s CORE data coordinator. If you don’t know who that is, <%= govuk_link_to("contact the helpdesk", GlobalConstants::HELPDESK_URL) %>.</p>
<p class="govuk-body">You can <%= govuk_mail_to("dluhc.digital-services@levellingup.gov.uk", "request an account", subject: "CORE: Request a new account") %> if your organisation doesn’t have one.</p>
<p class="govuk-body"><strong><%= govuk_link_to guidance_path do %>Guidance for submitting social housing lettings and sales data (CORE)<% end %></strong><p>
</div>
<div class="govuk-grid-column-one-third-from-desktop">

7
spec/requests/start_controller_spec.rb

@ -36,10 +36,9 @@ RSpec.describe StartController, type: :request do
describe "guidance page" do
context "when the user is not signed in" do
it "routes user to the start in page" do
get "/guidance", headers: headers, params: {}
expect(path).to include("/")
expect(page).to have_content("Start now")
it "routes user to the guidance page" do
get "/guidance", headers:, params: {}
expect(page).to have_content("Guidance for submitting social housing lettings and sales data")
end
end

Loading…
Cancel
Save