summaryrefslogtreecommitdiff
path: root/spec/features/users/show_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/users/show_spec.rb')
-rw-r--r--spec/features/users/show_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/features/users/show_spec.rb b/spec/features/users/show_spec.rb
index 56d2aaea203..0309df8f32a 100644
--- a/spec/features/users/show_spec.rb
+++ b/spec/features/users/show_spec.rb
@@ -220,6 +220,14 @@ RSpec.describe 'User page' do
expect(page).to have_content("Working hard!")
end
+ it 'shows the pronouns of the user if there was one' do
+ user.user_detail.update_column(:pronouns, 'they/them')
+
+ subject
+
+ expect(page).to have_content("(they/them)")
+ end
+
context 'signup disabled' do
it 'shows the sign in link' do
stub_application_setting(signup_enabled: false)