[rspec-users] a better "should have valid associations"

aslak hellesoy aslak.hellesoy at gmail.com
Thu Mar 29 12:02:59 EDT 2007


On 3/29/07, Josh Knowles <joshknowles at gmail.com> wrote:
>
>
> On 3/29/07, David Chelimsky <dchelimsky at gmail.com> wrote:
> > AWESOME! I'm so psyched to see a plugin emerging for this.
> >

I second that.

> > Looks like have_many and belong_to don't really specify the specific
> > type of association, so you could get false positives. Also, it
> > probably needs a have_one and have_and_belong_to_many matchers is well
> > to round it out, no?
>
>
> Yes this is definitely still a work in progress, and I wasn't quite ready to
> release, but figured since folks were talking about this now I'd throw it
> out there and get feedback earlier rather then later.
>

Now that the rspec plugin mechanism seems to be working nicely, we
don't have to include lots of stuff in the Spec::Rails codebase.

However, we should make sure the RSpec website includes a link to
valuable plugins like this one.

Aslak

> Josh
>
>
>
>
> --
> Josh Knowles
> joshknowles at gmail.com
> http://joshknowles.com
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list