summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/www/script/test/basics.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js
index 2837b77a..06c73ddf 100644
--- a/share/www/script/test/basics.js
+++ b/share/www/script/test/basics.js
@@ -141,4 +141,8 @@ couchTests.basics = function(debug) {
var locs = loc.split('/');
T(locs[4] == resp.id);
T(locs[3] == "test_suite_db");
+
+ // deleting a non-existent doc should be 404
+ xhr = CouchDB.request("DELETE", "/test_suite_db/doc-does-not-exist");
+ T(xhr.status == 404);
};