Browse Source

Corrected typo in page title + heading

pull/870/head
Sam Collard 3 years ago
parent
commit
0e03d045cd
  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