couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1104481 - /couchdb/branches/1.1.x/share/www/script/test/replication.js
Date Tue, 17 May 2011 19:24:56 GMT
Author: fdmanana
Date: Tue May 17 19:24:56 2011
New Revision: 1104481

URL: http://svn.apache.org/viewvc?rev=1104481&view=rev
Log:
Add missing doc open option to the test for COUCHDB-885

These were forgotten when backporting the attachment related assertions from 1.0.x.

Modified:
    couchdb/branches/1.1.x/share/www/script/test/replication.js

Modified: couchdb/branches/1.1.x/share/www/script/test/replication.js
URL: http://svn.apache.org/viewvc/couchdb/branches/1.1.x/share/www/script/test/replication.js?rev=1104481&r1=1104480&r2=1104481&view=diff
==============================================================================
--- couchdb/branches/1.1.x/share/www/script/test/replication.js (original)
+++ couchdb/branches/1.1.x/share/www/script/test/replication.js Tue May 17 19:24:56 2011
@@ -834,7 +834,9 @@ couchTests.replication = function(debug)
   TEquals(1, repResult.history[0].docs_read);
   TEquals(0, repResult.history[0].doc_write_failures);
 
-  var copy = dbB.open(doc._id, {conflicts: true, deleted_conflicts: true});
+  var copy = dbB.open(doc._id, {
+    conflicts: true, deleted_conflicts: true, attachments: true,
+    att_encoding_info: true});
   T(copy !== null);
   TEquals("undefined", typeof copy._conflicts);
   TEquals("undefined", typeof copy._deleted_conflicts);



Mime
View raw message