From c6f707e312e284af6ab873049dd27e3ef38bdea5 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Sun, 29 Nov 2009 23:10:43 +0000 Subject: add assertion that _all_dbs API exists git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@885286 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/basics.js | 1 + 1 file changed, 1 insertion(+) (limited to 'share') 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); -- cgit v1.2.3