summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2010-04-08 00:07:22 +0000
committerJohn Christopher Anderson <jchris@apache.org>2010-04-08 00:07:22 +0000
commitb4946c30a8df3326b53f58ab5c7e58dc49fa2ee8 (patch)
tree4ca44fd21732907681f7c3f0d8d47553807ad9b1 /share
parent56ae99118f5c35612fe4fc440480984ea1e7aa29 (diff)
fix last straggler view update_seq bugs, thanks tisba and bitdiddle for the report
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931731 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r--share/www/script/test/list_views.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/share/www/script/test/list_views.js b/share/www/script/test/list_views.js
index 54214c2c..97a37e48 100644
--- a/share/www/script/test/list_views.js
+++ b/share/www/script/test/list_views.js
@@ -223,7 +223,10 @@ couchTests.list_views = function(debug) {
xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/basicJSON/basicView");
T(xhr.status == 200, "standard get should be 200");
var resp = JSON.parse(xhr.responseText);
- TEquals(resp.head, {total_rows:10, offset:0});
+ TEquals(10, resp.head.total_rows);
+ TEquals(0, resp.head.offset);
+ TEquals(11, resp.head.update_seq);
+
T(resp.rows.length == 10);
TEquals(resp.rows[0], {"id": "0","key": 0,"value": "0"});