Updating spec to verify CredentialError is raised when appropriate.
Updating spec to verify CredentialError is raised when appropriate.

ManageIQ/linux_admin,kbrock/linux_admin,jrafanie/linux_admin,carbonin/linux_admin