summaryrefslogtreecommitdiff
path: root/share/www/script/test/view_offsets.js
diff options
context:
space:
mode:
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;