diff options
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/couch_tests.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index 8876cab8..e436ba00 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -72,6 +72,10 @@ var tests = { // Check _all_docs with descending=true var desc = db.allDocs({descending:true}); T(desc.total_rows == desc.rows.length); + + // Check _all_docs offset + var all = db.allDocs({startkey:"2"}); + T(all.offset == 2); // Test a simple map functions |