On 20 Sep 2008, at 11:33, Todd Tyree wrote:


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!

http://gist.github.com/11764

enjoy.

cheers,
Matt
----
http://blog.mattwynne.net
http://songkick.com

In case you wondered: The opinions expressed in this email are my own and do not necessarily reflect the views of any former, current or future employers of mine.



_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to