[rspec-users] log file

nicholas a. evans nick at ekenosen.net
Wed May 23 15:29:18 EDT 2007


On 5/23/07, Jonathan Linowes <jonathan at parkerhill.com> wrote:
> When running rails spec tests is there a log file generated? i'm
> looking for generated sql to help me debug like in development.log

Have you looked in log/test.log?

I occasionally clear it out and then run all of the non-model specs,
then grep through it for SQL, to enforce our "no DB access from
non-model specs" rule.

-- 
Nick


More information about the rspec-users mailing list