From 89fc389a328c54efbc03c4cbf56dc363db7e97f7 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Mon, 14 Sep 2009 19:40:41 +0000 Subject: rollback mixed up commit, builds now git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814803 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/replication.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www/script/test/replication.js') diff --git a/share/www/script/test/replication.js b/share/www/script/test/replication.js index 210ffa2c..c08d128b 100644 --- a/share/www/script/test/replication.js +++ b/share/www/script/test/replication.js @@ -100,12 +100,12 @@ couchTests.replication = function(debug) { }; this.afterAB1 = function(dbA, dbB) { - var rows = dbB.changes().results; + var rows = dbB.changes({include_docs:true}).results; var rowCnt = 0; for (var i=0; i < rows.length; i++) { if (rows[i].id == "del1") { rowCnt += 1; - T(rows[i].deleted == true); + T(rows[i].doc._deleted == true); } }; T(rowCnt == 1); -- cgit v1.2.3