summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2008-10-31 21:21:05 +0000
committerJohn Christopher Anderson <jchris@apache.org>2008-10-31 21:21:05 +0000
commit5ec6ff7fc12b8092e42829d790a20a90b3ab225d (patch)
tree32f3947551c1e905c7a0d11cd2a0dd08482b738c /share/www
parent2edc6bf3ca2d6cf4a1f06ea4c546d2d1fab24c3d (diff)
fixed JSON regression about revs_info status
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@709572 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/couch_tests.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js
index a7844bdc..ccb9755d 100644
--- a/share/www/script/couch_tests.js
+++ b/share/www/script/couch_tests.js
@@ -54,6 +54,10 @@ var tests = {
var id = result.id; // save off the id for later
+ // make sure the revs_info status is good
+ var doc = db.open(id, {revs_info:true});
+ T(doc._revs_info[0].status == "available");
+
// Create some more documents.
// Notice the use of the ok member on the return result.
T(db.save({_id:"1",a:2,b:4}).ok);