Permalink
Browse files

Merge pull request #850 from aheckmann/fixV4test

[ready] fix node v0.4 test compatibility
  • Loading branch information...
2 parents cf130ac + 9851196 commit 408f1f20b954110e91511b54a33637ad79390e24 @rauchg rauchg committed Apr 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/model.test.js
View
@@ -573,7 +573,7 @@ module.exports = {
var b = new A({ name: 'i am new', em: [{x:2}] });
b.save(function (err) {
db.close();
- assert(err);
+ assert.ok(err);
assert.equal(b.isNew, true);
assert.equal(b.em[0].isNew, true);
});

0 comments on commit 408f1f2

Please sign in to comment.