[rspec-users] Spec custom finders

2007-10-26 Thread Steve
I have some finders in my models where I write some of the sql myself. I of course want to test these, but am not sure the best way. Should I just let them roll through to the db, and verify they return the correct objects based on the fixtures I load, or should I spec the actual query? I know

Re: [rspec-users] Spec custom finders

2007-10-26 Thread Pat Maddox
On 10/26/07, Steve [EMAIL PROTECTED] wrote: I have some finders in my models where I write some of the sql myself. I of course want to test these, but am not sure the best way. Should I just let them roll through to the db, and verify they return the correct objects based on the fixtures I