summaryrefslogtreecommitdiff
path: root/share/www/script/test
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test')
-rw-r--r--share/www/script/test/changes.js4
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)
};