diff options
Diffstat (limited to 'share/www')
-rw-r--r-- | share/www/script/test/list_views.js | 5 |
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"}); |