diff options
author | Nick Thomas <nick@gitlab.com> | 2017-06-02 14:42:06 +0100 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2017-06-05 17:48:57 +0100 |
commit | 11fb83fcc0efa91f60e516d7fb23d035b8f78634 (patch) | |
tree | 569c53d76bcd7a88ff854bdacc7ba8f2dc588c9b /spec | |
parent | 8ce26b3ab64caefce2f7bfba1448428657c0fecc (diff) | |
download | gitlab-ce-11fb83fcc0efa91f60e516d7fb23d035b8f78634.tar.gz |
Allow users to be hard-deleted from the admin user show page
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/admin/admin_users_spec.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/features/admin/admin_users_spec.rb b/spec/features/admin/admin_users_spec.rb index 2d936dbbc80..301a47169a4 100644 --- a/spec/features/admin/admin_users_spec.rb +++ b/spec/features/admin/admin_users_spec.rb @@ -117,6 +117,9 @@ describe "Admin::Users", feature: true do expect(page).to have_content(user.email) expect(page).to have_content(user.name) + expect(page).to have_link('Block user', href: block_admin_user_path(user)) + expect(page).to have_link('Remove user', href: admin_user_path(user)) + expect(page).to have_link('Remove user and contributions', href: admin_user_path(user, hard_delete: true)) end describe 'Impersonation' do |