summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/all_docs.js3
-rw-r--r--share/www/script/test/replication.js4
2 files changed, 3 insertions, 4 deletions
diff --git a/share/www/script/test/all_docs.js b/share/www/script/test/all_docs.js
index 34c20921..ab443605 100644
--- a/share/www/script/test/all_docs.js
+++ b/share/www/script/test/all_docs.js
@@ -65,8 +65,7 @@ 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");
- // we've removed deletions from the changes feed as they are on the doc record not the doc_info
- T(!changes.results[3].deleted);
+ 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 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);