diff options
Diffstat (limited to 'spec/features/profiles/user_visits_profile_preferences_page_spec.rb')
-rw-r--r-- | spec/features/profiles/user_visits_profile_preferences_page_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/profiles/user_visits_profile_preferences_page_spec.rb b/spec/features/profiles/user_visits_profile_preferences_page_spec.rb index 2747b5894dc..56db7efff51 100644 --- a/spec/features/profiles/user_visits_profile_preferences_page_spec.rb +++ b/spec/features/profiles/user_visits_profile_preferences_page_spec.rb @@ -76,13 +76,13 @@ RSpec.describe 'User visits the profile preferences page' do it 'updates their preference' do wait_for_requests - select2('eo', from: '#user_preferred_language') + select2('pt_BR', from: '#user_preferred_language') click_button 'Save' wait_for_requests refresh - expect(page).to have_css('html[lang="eo"]') + expect(page).to have_css('html[lang="pt-BR"]') end end |