diff --git a/tests/test.attachments.js b/tests/test.attachments.js
index <HASH>..<HASH> 100644
--- a/tests/test.attachments.js
+++ b/tests/test.attachments.js
@@ -119,11 +119,10 @@ adapters.map(function(adapter) {
   });
 
   asyncTest("Testing with invalid docs", function() {
-    var invalidDoc = {'_id': '_invalid', foo: "bar"};
+    var invalidDoc = {'_id': '_invalid', foo: 'bar'};
     initTestDB(this.name, function(err, db) {
-      db.bulkDocs({docs: [invalidDoc, binAttDoc]}, function (err, info) {
-        ok(info[0].error, 'first doc is invalid');
-        ok(info[1].ok, 'second doc is valid');
+      db.bulkDocs({docs: [invalidDoc, binAttDoc]}, function(err, info) {
+        ok(err, 'bad request');
         start();
       });
     });
(#<I>) - Use Blobs for attachments: update Test

Update test saving an attachment together with an invalid doc.
Now receives error.