daleharvey/pouchdb — pull request #659 by nick-thompson (2013-04-01 18:13:31+00:00)
Title: db.info() results inconsistent

https://github.com/daleharvey/pouchdb/blob/master/src/adapters/pouch.leveldb.js#L159
https://github.com/daleharvey/pouchdb/blob/master/src/adapters/pouch.websql.js#L98
https://github.com/daleharvey/pouchdb/blob/master/src/adapters/pouch.http.js#L250
https://github.com/daleharvey/pouchdb/blob/master/src/adapters/pouch.idb.js#L667

Above is a link to each of the adapter-specific implementations of db.info(). The latter 3 all return an object with a field `db_name`, whereas the first (leveldb) returns an object with a field `name`.

This one was caught by couchdb-harness, so I'm not sure if I should create a test case in the pouchdb suite for this? Also it's a pretty minor issue to formulate a test case around... I'll follow this up with some code in a minute.