summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-11-29 23:10:43 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-11-29 23:10:43 +0000
commitc6f707e312e284af6ab873049dd27e3ef38bdea5 (patch)
tree75508cb29886ef7b04322df459d92068fd923b76 /share/www
parent685c4a2023bfae17220fb20b9ee6e72f44b019ec (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.js1
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);