diff options
author | Claire <claire.github-309c@sitedethib.com> | 2022-02-08 18:23:53 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-02-08 18:23:53 +0100 |
commit | 692963d43beb5e66a86e15d63b5aa3eeca82f0a1 (patch) | |
tree | bc7319ae242a889bb1d05b7afdd365d78a43ac1d /spec/helpers/languages_helper_spec.rb | |
parent | b1983623aec8e0b066d115736d2151e0c74407fa (diff) | |
parent | b6d7726ecbc833abd00f6a9d36b24d9776cfe623 (diff) |
Merge branch 'main' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/helpers/languages_helper_spec.rb')
-rw-r--r-- | spec/helpers/languages_helper_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/helpers/languages_helper_spec.rb b/spec/helpers/languages_helper_spec.rb index 6db617824..b455cee33 100644 --- a/spec/helpers/languages_helper_spec.rb +++ b/spec/helpers/languages_helper_spec.rb @@ -3,9 +3,9 @@ require 'rails_helper' describe LanguagesHelper do - describe 'the HUMAN_LOCALES constant' do - it 'includes all I18n locales' do - expect(described_class::HUMAN_LOCALES.keys).to include(*I18n.available_locales) + describe 'the SUPPORTED_LOCALES constant' do + it 'includes all i18n locales' do + expect(Set.new(described_class::SUPPORTED_LOCALES.keys + described_class::REGIONAL_LOCALE_NAMES.keys)).to include(*I18n.available_locales) end end |