[rspec-users] Database clearing

Todd Tyree todd at snappl.co.uk
Sat Sep 20 06:33:04 EDT 2008


> We have a few lines of code in our features steps/env.rb that does this
>
> 1. patch AR to stash each AR object created in an array
> 2. in an After do block, call destroy on each of those objects.
>
> We can probably share if anyone would like to see this.
>
>
Please!

Best,
Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20080920/eed42a6e/attachment.html>


More information about the rspec-users mailing list