[rspec-users] Another attempt for a succinct model validation DSL

Luis Lavena luislavena at gmail.com
Fri Jun 1 19:54:32 EDT 2007

On 6/1/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> >
> > (David and Aslak, I didn't found a example on how to implemente a
> > custom matcher like Jospeh did, guess I missed a lot of RDocs :-P
> Check this out - I think it's what you're looking for.
> http://blog.davidchelimsky.net/articles/2007/02/18/custom-expectation-matchers

Thanks David, but I'm already a subscriber of your blog ;-)

What I really meant to say is the .as(:attribute).because("message")
part of the custom matcher I didn't fully understand :-P

Are examples of that in the repository?

Luis Lavena
Multimedia systems
Leaders are made, they are not born. They are made by hard effort,
which is the price which all of us must pay to achieve any goal that
is worthwhile.
Vince Lombardi

More information about the rspec-users mailing list