[rspec-users] What is the right method to call Rspec.configure when spork is used? prefork or each_run?
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).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users