Browse Source

Corrected typo in page title + heading (#870)

pull/873/head
Sam 2 years ago committed by GitHub
parent
commit
801e0b6f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/views/logs/csv_confirmation.html.erb
  2. 2
      spec/requests/lettings_logs_controller_spec.rb

4
app/views/logs/csv_confirmation.html.erb

@ -1,7 +1,7 @@
<% content_for :title, "We've sending you an email" %> <% content_for :title, "We’re sending you an email" %>
<div class="govuk-grid-row"> <div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds"> <div class="govuk-grid-column-two-thirds">
<%= govuk_panel(title_text: "We're sending you an email") %> <%= govuk_panel(title_text: "Were sending you an email") %>
<p class="govuk-body">It should arrive in a few minutes, but it could take longer.</p> <p class="govuk-body">It should arrive in a few minutes, but it could take longer.</p>

2
spec/requests/lettings_logs_controller_spec.rb

@ -783,7 +783,7 @@ RSpec.describe LettingsLogsController, type: :request do
it "confirms that the user will receive an email with the requested CSV" do it "confirms that the user will receive an email with the requested CSV" do
get "/lettings-logs/csv-confirmation" get "/lettings-logs/csv-confirmation"
expect(CGI.unescape_html(response.body)).to include("We're sending you an email") expect(CGI.unescape_html(response.body)).to include("Were sending you an email")
end end
end end
end end

Loading…
Cancel
Save