diff options
author | Eva Kadlecová <evka.kadl@gmail.com> | 2018-08-19 22:13:48 +0300 |
---|---|---|
committer | Eva Kadlecová <evka.kadl@gmail.com> | 2018-08-21 22:17:56 +0300 |
commit | 894e9c7f30a5d47eccf48796c7d52109c2af99e3 (patch) | |
tree | 41f5e9012f36cb154bf5ad5b7ff9c4365c528f30 /spec/features | |
parent | 120ce02e5e7e72654cb42edddc25ff3b057ec136 (diff) |
Expose user's id in /admin/users/ show page.
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/admin/admin_users_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/admin/admin_users_spec.rb b/spec/features/admin/admin_users_spec.rb index 1db6c75b85b..b2eaeb1c487 100644 --- a/spec/features/admin/admin_users_spec.rb +++ b/spec/features/admin/admin_users_spec.rb @@ -134,6 +134,7 @@ describe "Admin::Users" do expect(page).to have_content(user.email) expect(page).to have_content(user.name) + expect(page).to have_content(user.id) expect(page).to have_link('Block user', href: block_admin_user_path(user)) expect(page).to have_button('Delete user') expect(page).to have_button('Delete user and contributions') |