[rspec-users] Examples not getting rolled back...

Tero Tilus tero at tilus.net
Thu Jan 8 05:00:19 EST 2009


2009-01-07 23:23, Tero Tilus:
> 2009-01-07 13:08, David Chelimsky:
> > Is the app code opening transactions?
> 
> Yes, but only one spot (iirc) which is not anywhere near the model
> whose test is failing here.  I'll verify tomorrow that the failing
> test really doesn't run the app code in question.

Verified, and it didn't.  Transactions I see on the log when running
the spec in question come from ActiveRecord (and RSpec if I have
use_transactional_fixtures = true).

-- 
Tero Tilus ## 050 3635 235 ## http://tero.tilus.net/


More information about the rspec-users mailing list