From 5cfc552c8fe5d954ccc268d01d59d64b0b747a1f Mon Sep 17 00:00:00 2001 From: Jason Barnabe Date: Mon, 2 Oct 2023 18:37:57 -0500 Subject: [PATCH] Adjust German capitalization test for adjusted German text --- spec/views_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/views_spec.rb b/spec/views_spec.rb index d5b14ead..42d049b2 100644 --- a/spec/views_spec.rb +++ b/spec/views_spec.rb @@ -63,7 +63,7 @@ def render_devise_i18n_view it 'retains capitalization of German nouns' do I18n.locale = :de # This should be capitalized regardless because it's the start of the sentence... - expect(render_devise_i18n_view).to include('User konnte aufgrund eines Fehlers nicht gespeichert werden:') + expect(render_devise_i18n_view).to include('User konnte wegen eines Fehlers nicht gespeichert werden:') end it 'downcases non-German nouns' do