diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-04 09:09:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-04 09:09:49 +0300 |
commit | b41e09c9ce655d61557a3513508952240506b161 (patch) | |
tree | 30c4c04800383f01175961e84415ecf9b8eff437 /spec/features | |
parent | 47b5ca54362fa51c08f4525415bb6887b8a7ba92 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/users/show_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/users/show_spec.rb b/spec/features/users/show_spec.rb index fcbbe3b4d1f..fb2873f1c96 100644 --- a/spec/features/users/show_spec.rb +++ b/spec/features/users/show_spec.rb @@ -278,6 +278,14 @@ RSpec.describe 'User page' do expect(page).to have_content("(they/them)") end + it 'shows the pronunctiation of the user if there was one' do + user.user_detail.update_column(:pronunciation, 'pruh-nuhn-see-ay-shn') + + subject + + expect(page).to have_content("Pronounced as: pruh-nuhn-see-ay-shn") + end + context 'signup disabled' do it 'shows the sign in link' do stub_application_setting(signup_enabled: false) |