couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nsla...@apache.org
Subject svn commit: r764865 - in /couchdb/branches/0.9.x: ./ etc/default/couchdb share/www/script/test/basics.js
Date Tue, 14 Apr 2009 16:31:19 GMT
Author: nslater
Date: Tue Apr 14 16:31:19 2009
New Revision: 764865

URL: http://svn.apache.org/viewvc?rev=764865&view=rev
Log:
merged r758717 from trunk

Modified:
    couchdb/branches/0.9.x/   (props changed)
    couchdb/branches/0.9.x/etc/default/couchdb   (props changed)
    couchdb/branches/0.9.x/share/www/script/test/basics.js

Propchange: couchdb/branches/0.9.x/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Apr 14 16:31:19 2009
@@ -1,2 +1,3 @@
 /couchdb/branches/design_resources:751716-751803
 /couchdb/branches/form:729440-730015
+/couchdb/trunk:758717

Propchange: couchdb/branches/0.9.x/etc/default/couchdb
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Tue Apr 14 16:31:19 2009
@@ -1,3 +1,4 @@
 /couchdb/branches/design_resources/etc/default/couchdb:751716-751803
 /couchdb/branches/form/etc/default/couchdb:729440-730015
+/couchdb/trunk/etc/default/couchdb:758717
 /incubator/couchdb/trunk/etc/default/couchdb:642419-694440

Modified: couchdb/branches/0.9.x/share/www/script/test/basics.js
URL: http://svn.apache.org/viewvc/couchdb/branches/0.9.x/share/www/script/test/basics.js?rev=764865&r1=764864&r2=764865&view=diff
==============================================================================
--- couchdb/branches/0.9.x/share/www/script/test/basics.js (original)
+++ couchdb/branches/0.9.x/share/www/script/test/basics.js Tue Apr 14 16:31:19 2009
@@ -14,13 +14,13 @@
 couchTests.basics = function(debug) {
     var result = JSON.parse(CouchDB.request("GET", "/").responseText);
     T(result.couchdb == "Welcome"); 
-  
+
     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();
 
     // PUT on existing DB should return 412 instead of 500
@@ -122,14 +122,14 @@
 
     // make sure we can still open the old rev of the deleted doc
     T(db.open(existingDoc._id, {rev: existingDoc._rev}) != null);
-  
+
     // make sure restart works
     T(db.ensureFullCommit().ok);
     restartServer();
-  
+
     // make sure we can still open
     T(db.open(existingDoc._id, {rev: existingDoc._rev}) != null);
-  
+
     // test that the POST response has a Location header
     var xhr = CouchDB.request("POST", "/test_suite_db", {
       body: JSON.stringify({"foo":"bar"})
@@ -140,9 +140,9 @@
     T(loc, "should have a Location header");
     var locs = loc.split('/');
     T(locs[4] == resp.id);
-    T(locs[3] == "test_suite_db");    
-    
+    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);    
+    T(xhr.status == 404);
   };



Mime
View raw message