about summary refs log tree commit diff
path: root/spec/helpers
diff options
context:
space:
mode:
authorF <f@erbridge.co.uk>2022-11-10 23:06:18 +0000
committerGitHub <noreply@github.com>2022-11-11 00:06:18 +0100
commitd4f973227c3a65833b6f8f34cab080900c77d4d6 (patch)
treebc7312a89305cdcd75a474c5bce30817b266c37a /spec/helpers
parent302a58c22b08a5cb6682a683dce501e030413bf4 (diff)
Test the native_locale_name of a non-standard locale (#20284)
`:en` is English for both `standard_locale_name` and
`native_locale_name`, and so makes for a poor test candidate for
differentiating between them.
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/languages_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/languages_helper_spec.rb b/spec/helpers/languages_helper_spec.rb
index 5587fc261..217c9b239 100644
--- a/spec/helpers/languages_helper_spec.rb
+++ b/spec/helpers/languages_helper_spec.rb
@@ -11,7 +11,7 @@ describe LanguagesHelper do
 
   describe 'native_locale_name' do
     it 'finds the human readable native name from a key' do
-      expect(helper.native_locale_name(:en)).to eq('English')
+      expect(helper.native_locale_name(:de)).to eq('Deutsch')
     end
   end