Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

have_secure_password cannot be used in the negative #1187

Closed
mcmire opened this issue Mar 10, 2019 · 1 comment · Fixed by #1593
Closed

have_secure_password cannot be used in the negative #1187

mcmire opened this issue Mar 10, 2019 · 1 comment · Fixed by #1593

Comments

@mcmire
Copy link
Collaborator

mcmire commented Mar 10, 2019

The have_secure_password is missing a failure_message_when_negated method, so it cannot be used like this:

it { should_not have_secure_password }
@mcmire
Copy link
Collaborator Author

mcmire commented Jun 9, 2019

Closing this in favor of the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant