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

Fuller error message for invalid hashes #50

Closed
wants to merge 2 commits into from

Conversation

jabley
Copy link
Contributor

@jabley jabley commented Sep 20, 2012

No description provided.

specify "should raise an InvalidHash error if the hash is invalid" do
lambda { BCrypt::Password.new("79V5biR6fOmJzqDKO4PScOmtVpY=") }.should raise_error(BCrypt::Errors::InvalidHash)
end

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's already a test for this in the file.

@tmm1 tmm1 closed this May 5, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants