foursquare/fongo — pull request #20 by rlindsjo (2013-03-07 08:35:53+00:00)
Title: Fix for issue #19 dropDatabase with 2 collections should not throw ConcurrentModificationException

Fixed issue #19 by first copying the collection set to avoid iterating and deleting from the same iterator.

Also added a test for this.