[rspec-users] a better "should have valid associations"
Courtenay
court3nay at gmail.com
Fri Mar 30 18:22:07 EDT 2007
On 3/30/07, Brandon Keepers <bkeepers at gmail.com> wrote:
>
> The only thing I don't like about this approach (and ones similar) is
> that it only checks the declaration. While that is important, I also
> think specs need to check that the declaration actually works
> (foreign key exists in database, model exists, etc.).
>
That's what my original post does.
Court3nay
More information about the rspec-users
mailing list