[rspec-users] What is the right method to call Rspec.configure when spork is used? prefork or each_run?
David Chelimsky
dchelimsky at gmail.com
Sun Aug 28 23:27:33 EDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110828/f3eb5f58/attachment.html>
More information about the rspec-users
mailing list