summaryrefslogtreecommitdiff
path: root/share/www/script/test/conflicts.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test/conflicts.js')
-rw-r--r--share/www/script/test/conflicts.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/conflicts.js b/share/www/script/test/conflicts.js
index fa8162ab..b8b93946 100644
--- a/share/www/script/test/conflicts.js
+++ b/share/www/script/test/conflicts.js
@@ -42,9 +42,9 @@ couchTests.conflicts = function(debug) {
T(e.error == "conflict");
}
- var bySeq = db.allDocsBySeq();
+ var changes = db.changes();
- T( bySeq.rows.length == 1)
+ T( changes.results.length == 1)
// Now clear out the _rev member and save. This indicates this document is
// new, not based on an existing revision.