benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 114 forks source link

couchbeam:doc_exists/2 always returns true? #116

Closed nlfiedler closed 10 years ago

nlfiedler commented 10 years ago

With an empty database, calling doc_exists/2 always returns true (at least for a design document, I didn't test it with normal documents). Not installing a design document based on this information causes my application tests to die, and indeed there are no design documents in the database when viewed via Futon. Could I be doing something wrong?

I'm using couchbeam 1.1.0, CouchDB 1.6.1, and Erlang R17.3.

nlfiedler commented 10 years ago

Terrific, thanks for the quick fix.