Skip to content

Commit

Permalink
Adjust German capitalization test for adjusted German text
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonBarnabe committed Oct 2, 2023
1 parent e58b0d3 commit 5cfc552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/views_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5cfc552

Please sign in to comment.