[rspec-users] Database clearing

Scott Taylor mailing_lists at railsnewbie.com
Fri Sep 19 20:59:21 EDT 2008

> 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?


More information about the rspec-users mailing list