daleharvey/pouchdb — pull request #1714 by ig3 (2014-03-24 01:05:19+00:00)
Title: (#942) - Fix replicate: detecton of errors from bulkDocs

This fixes replicate to detect and report errors from bulkDocs, per the tests in PR #1713 and changes and enables those tests.

In the first test, the mock of bulkDocs broke put, so replicate could not update checkpoint.

Some of the expectations in the tests seemed wrong to me, so I have amended them.