diff --git a/public/404.html b/public/404.html index a28343f5c..501a6afb5 100644 --- a/public/404.html +++ b/public/404.html @@ -4,13 +4,13 @@ 404: Not Found class="error-message"<% end %>> -

404: Requested Ressource was not found.

+

404: Requested resource was not found

<% if @message.present? %>
<%= @message %>
<% end %> <% if !@traceback %>
-

Sorry, but the Phoenix is not able to find your ressource. Try checking the URL for errors.

+

Sorry, but the Phoenix is not able to find your resource. Try checking the URL for errors.

<% else %>
<%= @exception.message %>
<% if @exception.backtrace %> @@ -21,4 +21,4 @@ <% end %> <% end %> - \ No newline at end of file + diff --git a/spec/requests/basic_spec.rb b/spec/requests/basic_spec.rb index 292ecee01..7749336f1 100644 --- a/spec/requests/basic_spec.rb +++ b/spec/requests/basic_spec.rb @@ -56,7 +56,7 @@ RSpec.describe 'Basics', type: :request do expect(response).to have_http_status(404) expect(response.body).to match(/404: Not Found}) - expect(response.body).to match(%r{

404: Requested Ressource was not found.

}) + expect(response.body).to match(%r{

404: Requested resource was not found

}) expect(response.body).to match(%r{No route matches \[GET\] /not_existing_url}) # 401 @@ -88,7 +88,7 @@ RSpec.describe 'Basics', type: :request do expect(response).to have_http_status(404) expect(response.body).to match(/404: Not Found}) - expect(response.body).to match(%r{

404: Requested Ressource was not found.

}) + expect(response.body).to match(%r{

404: Requested resource was not found

}) expect(response.body).to match(/some error message/) # 500