On Wed, Jan 12, 2011 at 12:10 PM, Jason Thomas
<[email protected]>wrote:

>    target2.save.should raise_error(Sequel::DatabaseError)


This needs to be:

  lambda { target2.save }.should raise_error(Sequel::DatabaseError)

or

  expect { target2.save }.to raise_error(Sequel::DatabaseError)

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to