On Aug 25, 2011, at 11:20 AM, Alexey Zakharov wrote:

> I need to setup mongoid collections clean up for each spec. What is the right 
> method to call Rspec.configure when spork is used? prefork or each_run?
> 

Either should be fine for a before or after hook, as long as they depend on any 
global data (which your example does not).

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

Reply via email to