summaryrefslogtreecommitdiff
path: root/spec/features/profiles/user_edit_preferences_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/profiles/user_edit_preferences_spec.rb')
-rw-r--r--spec/features/profiles/user_edit_preferences_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/profiles/user_edit_preferences_spec.rb b/spec/features/profiles/user_edit_preferences_spec.rb
index 817228edca7..d489d92c524 100644
--- a/spec/features/profiles/user_edit_preferences_spec.rb
+++ b/spec/features/profiles/user_edit_preferences_spec.rb
@@ -64,7 +64,7 @@ RSpec.describe 'User edit preferences profile' do
expect(page).to have_select(
'user[preferred_language]',
selected: 'Spanish - espaƱol',
- options: Gitlab::I18n::AVAILABLE_LANGUAGES.values,
+ options: Gitlab::I18n.selectable_locales.values,
visible: :all
)
end