diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-09-14 19:17:28 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-09-14 19:17:28 +0000 |
commit | 3b72fa64172fcf930e996a533b89acbabd306c0b (patch) | |
tree | ce9281caf62a7f1946de38fe2fe030fa59bbdeb6 /share/www/script/test/replication.js | |
parent | 7465bf9f8f5eddb469274d99ffc2e7347d2193b3 (diff) |
support for deletions in changes feed
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814787 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/replication.js')
-rw-r--r-- | share/www/script/test/replication.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/replication.js b/share/www/script/test/replication.js index c08d128b..210ffa2c 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({include_docs:true}).results; + var rows = dbB.changes().results; var rowCnt = 0; for (var i=0; i < rows.length; i++) { if (rows[i].id == "del1") { rowCnt += 1; - T(rows[i].doc._deleted == true); + T(rows[i].deleted == true); } }; T(rowCnt == 1); |