From 986302c54df1bdb4be3dc1d1a4d5a9f34e6af50d Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Thu, 7 Aug 2008 20:28:42 +0000 Subject: Fix for bug COUCHDB-100. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@683704 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/couch_tests.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'share/www') diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index 0308ed8d..32a53909 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -16,6 +16,10 @@ var tests = { basics: function(debug) { var db = new CouchDB("test_suite_db"); db.deleteDb(); + + // bug COUCHDB-100: DELETE on non-existent DB returns 500 instead of 404 + db.deleteDb(); + db.createDb(); if (debug) debugger; -- cgit v1.2.3