chris-l / mock-couch

A node.js module designed to mock a CouchDB server, mostly for unit testing purposes.
http://chris-l.github.io/mock-couch/
67 stars 44 forks source link

Add put/post for design docs #42

Closed dermidgen closed 8 years ago

dermidgen commented 8 years ago

Closes #41

dermidgen commented 8 years ago

@chris-l - I didn't update unit tests yet; but I do plan on that.

chris-l commented 8 years ago

Yeah, I test it and it works perfectly!

I have added a single unit test (only one at the moment), and fixed some validation issues. And if you want to contribute extra unit tests, you are more than welcome :) Just pull the latest commits and check the unit test at test/views.spec.js for reference.

Thanks a lot!

dermidgen commented 8 years ago

Oh dude - you rock! Thank you for adding a test and merging so quickly.

RuizhiWang commented 8 years ago

Hi there, Can somebody publish this fix to npm package? The 0.1.6 version was published 6 month ago and doesn't have this fix. Really look forward to seeing the npm package include this fix, rather than install from git for this specific version. Thanks very much.