I recently wrote this spec <https://gist.github.com/1126847> for a custom validator. I hope you find it useful. Feedback welcome. Craig -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110804/ba3cc8d2/attachment.html>