summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
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);