From 7465bf9f8f5eddb469274d99ffc2e7347d2193b3 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Mon, 14 Sep 2009 19:03:36 +0000 Subject: removed _all_docs_by_seq in favor of _changes git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@814778 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/conflicts.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'share/www/script/test/conflicts.js') 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. -- cgit v1.2.3