diff options
Diffstat (limited to 'spec/features/users/show_spec.rb')
-rw-r--r-- | spec/features/users/show_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/features/users/show_spec.rb b/spec/features/users/show_spec.rb index cb395846b96..2a444dad486 100644 --- a/spec/features/users/show_spec.rb +++ b/spec/features/users/show_spec.rb @@ -9,6 +9,12 @@ RSpec.describe 'User page' do subject(:visit_profile) { visit(user_path(user)) } + it 'shows user id' do + subject + + expect(page).to have_content("User ID: #{user.id}") + end + context 'with public profile' do it 'shows all the tabs' do subject |