There's another approach though that I haven't tried yet. One of the
guys I work with truncates all the tables in the db before every
example. He says this runs as fast or faster than transactional
fixtures, and has the added benefit of NOT being in a transaction,
which
means that if he actually DOES use a transaction in his application
code
then he can test it very easily. I've not tried it, but it seems
like a
cool idea.
Pat -
Seems like this would be a good plugin. Does it have a name?
Scott
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users