$OpenBSD: patch-spec_bcrypt_password_spec_rb,v 1.1 2014/10/17 18:34:17 jasper Exp $

Make this work with rspec3.

--- spec/bcrypt/password_spec.rb.orig	Fri Oct 17 20:09:24 2014
+++ spec/bcrypt/password_spec.rb	Fri Oct 17 20:10:41 2014
@@ -16,9 +16,9 @@ describe "Creating a hashed password" do
   end
 
   specify "should behave normally if the secret is not a string" do
-    lambda { BCrypt::Password.create(nil) }.should_not raise_error(BCrypt::Errors::InvalidSecret)
-    lambda { BCrypt::Password.create({:woo => "yeah"}) }.should_not raise_error(BCrypt::Errors::InvalidSecret)
-    lambda { BCrypt::Password.create(false) }.should_not raise_error(BCrypt::Errors::InvalidSecret)
+    lambda { BCrypt::Password.create(nil) }.should_not raise_error
+    lambda { BCrypt::Password.create({:woo => "yeah"}) }.should_not raise_error
+    lambda { BCrypt::Password.create(false) }.should_not raise_error
   end
 
   specify "should tolerate empty string secrets" do
