[rspec-users] custom matcher tutorial

Bryan Liles bryan at osesm.com
Mon Nov 26 18:34:08 EST 2007


I wrote some quick notes up on a custom matcher I wrote around a  
pattern that I am using constantly.

http://smartic.us/2007/11/26/rspec-matcher-for-active-record-associations

You could use it as a custom matcher tutorial for the uninitiated or  
as  a possible solution for validations specs for the more advanced.   
Or you could use it to school me, and explain why my code sucks :)

bryanl



More information about the rspec-users mailing list