couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jch...@apache.org
Subject svn commit: r706732 - in /incubator/couchdb/trunk: THANKS share/www/script/couch_tests.js
Date Tue, 21 Oct 2008 19:35:00 GMT
Author: jchris
Date: Tue Oct 21 12:34:59 2008
New Revision: 706732

URL: http://svn.apache.org/viewvc?rev=706732&view=rev
Log:
test to close COUCHDB-117

Modified:
    incubator/couchdb/trunk/THANKS
    incubator/couchdb/trunk/share/www/script/couch_tests.js

Modified: incubator/couchdb/trunk/THANKS
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/THANKS?rev=706732&r1=706731&r2=706732&view=diff
==============================================================================
--- incubator/couchdb/trunk/THANKS (original)
+++ incubator/couchdb/trunk/THANKS Tue Oct 21 12:34:59 2008
@@ -12,6 +12,7 @@
  * Benoit Chesneau <bchesneau@gmail.com>
  * Paul Joseph Davis <paul.joseph.davis@gmail.com>
  * Michael Gottesman <gottesmm@reed.edu>
+ * Michael Hendricks <michael@ndrix.org>
  * Till Klampaeckel <till@klampaeckel.de>
  * Roger Leigh <rleigh@debian.org>
  * Jim Lindley <web@jimlindley.com>

Modified: incubator/couchdb/trunk/share/www/script/couch_tests.js
URL: http://svn.apache.org/viewvc/incubator/couchdb/trunk/share/www/script/couch_tests.js?rev=706732&r1=706731&r2=706732&view=diff
==============================================================================
--- incubator/couchdb/trunk/share/www/script/couch_tests.js [utf-8] (original)
+++ incubator/couchdb/trunk/share/www/script/couch_tests.js [utf-8] Tue Oct 21 12:34:59 2008
@@ -28,6 +28,10 @@
     db.deleteDb();
     
     db.createDb();
+
+    // PUT on existing DB should return 409 instead of 500
+    xhr = CouchDB.request("PUT", "/test_suite_db/");
+    T(xhr.status == 409);
     if (debug) debugger;
 
     // Get the database info, check the db_name



Mime
View raw message