diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-11-29 23:10:43 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-11-29 23:10:43 +0000 |
commit | c6f707e312e284af6ab873049dd27e3ef38bdea5 (patch) | |
tree | 75508cb29886ef7b04322df459d92068fd923b76 /share/www | |
parent | 685c4a2023bfae17220fb20b9ee6e72f44b019ec (diff) |
add assertion that _all_dbs API exists
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885286 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r-- | share/www/script/test/basics.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js index 01d6c81c..0f9ac44f 100644 --- a/share/www/script/test/basics.js +++ b/share/www/script/test/basics.js @@ -45,6 +45,7 @@ couchTests.basics = function(debug) { // Get the database info, check the db_name T(db.info().db_name == "test_suite_db"); + T(CouchDB.allDbs().indexOf("test_suite_db") != -1) // Get the database info, check the doc_count T(db.info().doc_count == 0); |