summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2008-10-08 18:52:32 +0000
committerJohn Christopher Anderson <jchris@apache.org>2008-10-08 18:52:32 +0000
commit27535bfe6acc89ae7ddfca02e0a0c499f99e09c0 (patch)
tree4374af6ab77a9e9f6b54745a6ceb921ef14a27d4 /share/www/script
parent15a0e50b5d75981f287a3cca982af4577633ba49 (diff)
add db_name back to database info, and test
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@702965 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/couch_tests.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js
index 4d42ea6a..46e42464 100644
--- a/share/www/script/couch_tests.js
+++ b/share/www/script/couch_tests.js
@@ -26,6 +26,9 @@ var tests = {
db.createDb();
if (debug) debugger;
+ // Get the database info, check the db_name
+ T(db.info().db_name == "test_suite_db");
+
// Get the database info, check the doc_count
T(db.info().doc_count == 0);