-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
afaeb0c
commit 9af33e7
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,14 +27,14 @@ | |
expect(page).to have_content 'An invitation email has been sent to [email protected].' | ||
end | ||
|
||
it 'can visit Manage Users and delete users' do | ||
it 'can visit Manage Users but cannot delete users' do | ||
visit "/admin/users" | ||
expect(page).to have_link 'Delete' | ||
expect(page).not_to have_link 'Delete' | ||
end | ||
|
||
it 'can visit the users index page' do | ||
visit "/users" | ||
expect(page).to have_content 'Hyku Commons Users' | ||
expect(page).to have_content 'Hyku Users' | ||
end | ||
|
||
it 'can visit a users showpage and see the Edit Profile button' do | ||
|
@@ -96,7 +96,7 @@ | |
|
||
it 'can view the users index page' do | ||
visit "/users" | ||
expect(page).to have_content 'Hyku Commons Users' | ||
expect(page).to have_content 'Hyku Users' | ||
end | ||
|
||
it 'can view a users showpage' do | ||
|