summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-09-14 19:40:41 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-09-14 19:40:41 +0000
commit89fc389a328c54efbc03c4cbf56dc363db7e97f7 (patch)
tree806159b3a0686b512d9c09872950925a5601f57f /share
parent3b72fa64172fcf930e996a533b89acbabd306c0b (diff)
rollback mixed up commit, builds now
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814803 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r--share/www/script/test/all_docs.js3
-rw-r--r--share/www/script/test/replication.js4
2 files changed, 4 insertions, 3 deletions
diff --git a/share/www/script/test/all_docs.js b/share/www/script/test/all_docs.js
index ab443605..34c20921 100644
--- a/share/www/script/test/all_docs.js
+++ b/share/www/script/test/all_docs.js
@@ -65,7 +65,8 @@ couchTests.all_docs = function(debug) {
// the deletion should make doc id 1 have the last seq num
T(changes.results.length == 4);
T(changes.results[3].id == "1");
- T(changes.results[3].deleted);
+ // we've removed deletions from the changes feed as they are on the doc record not the doc_info
+ T(!changes.results[3].deleted);
// do an update
var doc2 = db.open("3");
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);