From 5ec6ff7fc12b8092e42829d790a20a90b3ab225d Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Fri, 31 Oct 2008 21:21:05 +0000 Subject: 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 --- share/www/script/couch_tests.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'share') 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); -- cgit v1.2.3