move admin/users to be accessed only by site admins
This commit is contained in:
parent
edd0024a17
commit
80a9544279
5 changed files with 22 additions and 1 deletions
|
|
@ -266,6 +266,12 @@ feature 'Has correct abilities' do
|
|||
visit edit_admin_conference_resource_path(conference.short_title, conference.resources.first)
|
||||
expect(current_path).to eq(edit_admin_conference_resource_path(conference.short_title, conference.resources.first))
|
||||
|
||||
visit admin_users_path
|
||||
expect(current_path).to eq(root_path)
|
||||
|
||||
visit admin_user_path(user_organizer)
|
||||
expect(current_path).to eq(root_path)
|
||||
|
||||
visit admin_revision_history_path
|
||||
expect(current_path).to eq(admin_revision_history_path)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue