pouchdb/mapreduce — pull request #104 by nolanlawson (2014-04-10 18:20:23+00:00)
Title: (#104) - add test for cleanup of duplicate indexes

Here's a test to ensure that we can correctly delete duplicate indexes. If you watch in the debugger, you'll see that there's only one mrview database shared by the 10 ddocs. When they're all cleaned up, only one `destroy()` call is made, so the tests pass in all 3 adapters.