[rspec-users] Patch idea for rspec_on_rails

Daniel Tenner
2007-10-19T18:48:14Z

I would like it :-)

On 19 Oct 2007, at 19:45 19 Oct 2007, Russell Norris wrote:

> I recently wrote a matcher for testing AR associations which allows
> you to specify things like:
>
>     Foo.should have_many(:bars).through(:bazes)
>
> I''m pretty darned proud of it and a couple of people have
suggested
> that I should submit it to the rspec_on_rails project. Before I go to
> the trouble of writing out rdoc and fully spec''ing it, I just
wanted
> to make sure this was something the community would like.
>
> Instead of pasting in the code into the email, I thought I''d just
make
> a pastie and let those interested read it there:
> http://pastie.caboo.se/108922
>
> I think it would make a nice addition to the current Rails matchers.
> Here''s hoping you do too.
>
> RSL