diff options
author | John Christopher Anderson <jchris@apache.org> | 2009-09-16 06:35:56 +0000 |
---|---|---|
committer | John Christopher Anderson <jchris@apache.org> | 2009-09-16 06:35:56 +0000 |
commit | 505e1110371c6f88bfb4d293b68033a09284895b (patch) | |
tree | 4b3ed25eb6501f0484f3b565475ec0693ba0338d /share | |
parent | 750e88ad5d4e497be7e199b78ee45dc98a92100a (diff) |
add limit to _changes
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@815629 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/test/changes.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/share/www/script/test/changes.js b/share/www/script/test/changes.js index a6ce51d5..f348aed8 100644 --- a/share/www/script/test/changes.js +++ b/share/www/script/test/changes.js @@ -249,5 +249,7 @@ couchTests.changes = function(debug) { T(resp.results[0].id == docResp.id); }); - // todo implement adhoc filters... + req = CouchDB.request("GET", "/test_suite_db/_changes?limit=1"); + resp = JSON.parse(req.responseText); + TEquals(1, resp.results.length) }; |