-David
Best.
Mike
-D
That's not how transactional fixtures work. All they ensure is that
the DB is set to the original state after each test run. They do not
remove data beforehand, and if there is data in your test DB before
the test, it will still be there afterward.
Cheers,
Tammer
---------------------
www.tammersaleh.com
www.thoughtbot.com
(626) 841-0708
Here's how I verified it:
rake db:reset RAILS_ENV=test
I then checked the users table in the database app_test via dbconsole
and it's empty.
rake test (all tests pass)
I then rechecked the user table in app_test database and it's still
empty.
If I perform the above steps after commenting out
"self.use_transactional_fixtures = true" I get 82 records in the user
table.
Best.
Mike
On Oct 7, 2008, at 2:28 PM, david.l...@gmail.com wrote: