[rspec-users] how to write complex matchers

Phlip phlip2005 at gmail.com
Fri Feb 13 18:49:00 EST 2009

David Chelimsky wrote:

> This looks pretty cool. I wonder if you'd have any interest in making
> this a bit more rspec-friendly? Something like an option to run it
> like this:
> expect_xpath do

It's on my do-list, but...

...are pluggable matchers as hard to write as the OP implied? How would you fix 
his problem? I need to know that before diving into the spaghetti that Ruby 
inevitably generates, just below every kewt DSL!

More information about the rspec-users mailing list