Skip to content

Commit

Permalink
fix user roles spec
Browse files Browse the repository at this point in the history
  • Loading branch information
bkiahstroud committed Jan 4, 2023
1 parent afaeb0c commit 9af33e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/features/user_roles_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 9af33e7

Please sign in to comment.