Re-adds travis
diff --git a/.travis.yml b/.travis.yml
index dce289d..a119c3d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,7 @@
only:
- master
- next
+ - rewrite
node_js:
- "0.8"
- "0.10"
diff --git a/tests/integration/multipart/insert.js b/tests/integration/multipart/insert.js
index 635497d..60b1fb1 100644
--- a/tests/integration/multipart/insert.js
+++ b/tests/integration/multipart/insert.js
@@ -42,13 +42,13 @@
});
});
-it('should work with attachment as a buffer', function (assert) {
+it('should work with attachment as a buffer', function(assert) {
var att = {
name: 'att',
data: new Buffer('foo'),
- content_type: 'text/plain'
+ 'content_type': 'text/plain'
};
- db.multipart.insert({'foo': 'bar'}, [att], 'otherdoc', function (error, foo) {
+ db.multipart.insert({'foo': 'bar'}, [att], 'otherdoc', function(error, foo) {
assert.equal(error, null, 'Should have stored foo and attachment');
assert.equal(foo.ok, true, 'Response should be ok');
assert.ok(foo.rev, 'Response should have rev');