summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2008-10-21 19:49:41 +0000
committerJohn Christopher Anderson <jchris@apache.org>2008-10-21 19:49:41 +0000
commit9866203c3c0bff9cd972df09624e5647cfc4e9be (patch)
tree1af5341e1ad678c93893ed385cb7317940b7df31 /share/www
parentbc8dd6acee3c58474f322821b16892e00d957f83 (diff)
fix for COUCHDB-138 include_docs=true&reduce=false
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@706735 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/couch_tests.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js
index af4bf5ea..5ff4ad40 100644
--- a/share/www/script/couch_tests.js
+++ b/share/www/script/couch_tests.js
@@ -1172,6 +1172,10 @@ var tests = {
T(e.error == 'query_parse_error');
}
+ // Reduce support when reduce=false
+ resp = db.view('test/summate', {reduce: false, include_docs: true});
+ T(resp.rows.length == 100);
+
// Check emitted _rev controls things
resp = db.allDocs({include_docs: true}, ["0"]);
var before = resp.rows[0].doc;