[rspec-users] Something cool I learned about rspec today

Ashley Moran work at ashleymoran.me.uk
Fri Jan 19 05:37:05 EST 2007

On 19 Jan 2007, at 10:05, Pat Maddox wrote:

> I found an awesome feature today.  When you're setting expectations,
> you can actually pattern match the parameters to methods.  Here's my
> discussion and example:
> http://evang.eli.st/blog/2007/1/19/parameter-matching-in-rspec

Just out of curiosity, what would happen if you needed to pass a  
regex as a message argument?


More information about the rspec-users mailing list