Adds administrator id on admin administrators index page

This commit is contained in:
decabeza
2018-11-20 17:08:15 +01:00
parent 91e89ce3af
commit ae3a2ed3f3
4 changed files with 7 additions and 0 deletions

View File

@@ -10,6 +10,7 @@ feature 'Admin administrators' do
end
scenario 'Index' do
expect(page).to have_content @administrator.id
expect(page).to have_content @administrator.name
expect(page).to have_content @administrator.email
expect(page).not_to have_content @user.name