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

Restify Error #10

Closed conor-mac-aoidh closed 9 years ago

conor-mac-aoidh commented 9 years ago

When I run mock-couch I get an error:

    Stacktrace:
      TypeError: Object #<Object> has no method 'createsrv'
  at node_modules/mock-couch/index.js:21:23

I think it was introduced in this commit:

https://github.com/chris-l/mock-couch/commit/590c1e4b60b25b4c99b7935cfa9aa46fce59e8e4#diff-168726dbe96b3ce427e7fedce31bb0bcR21

Should be a quick fix!

chris-l commented 9 years ago

Oops! What a silly mistake, sorry. Fixed now. Thanks!