summaryrefslogtreecommitdiff
path: root/share/www/script/test/view_offsets.js
diff options
context:
space:
mode:
authorPaul Joseph Davis <davisp@apache.org>2009-04-22 14:41:47 +0000
committerPaul Joseph Davis <davisp@apache.org>2009-04-22 14:41:47 +0000
commite5be78e42c38b5546d68d98e4b1db286600e9ed5 (patch)
treedbd8f78044c938e8d729bbc02cbd689c44f88172 /share/www/script/test/view_offsets.js
parent468c9476310d752095d5a63040b2b070fac400aa (diff)
Refactoring the view URL parameter parsing.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@767543 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/view_offsets.js')
-rw-r--r--share/www/script/test/view_offsets.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/www/script/test/view_offsets.js b/share/www/script/test/view_offsets.js
index 97cd6b97..e32d070b 100644
--- a/share/www/script/test/view_offsets.js
+++ b/share/www/script/test/view_offsets.js
@@ -42,7 +42,7 @@ couchTests.view_offsets = function(debug) {
db.bulkSave(docs);
var check = function(startkey, offset) {
- var opts = {startkey: startkey, descending: true, reduce: false};
+ var opts = {startkey: startkey, descending: true};
T(db.view("test/offset", opts).offset == offset);
};
@@ -90,7 +90,7 @@ couchTests.view_offsets = function(debug) {
var res = db.view("test/offset", {
startkey: ["b",4], startkey_docid: "b4", endkey: ["b"],
- limit: 2, descending: true, skip: 1, reduce: false
+ limit: 2, descending: true, skip: 1
})
return res.offset == 4;