Skip to content
Browse files

fix tests

  • Loading branch information...
1 parent 107194f commit 90157e857081fc714cff17c25bffa87b378ef5bb @aheckmann aheckmann committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/model.test.js
View
4 test/model.test.js
@@ -3291,7 +3291,7 @@ module.exports = {
, post = undefined;
schema.post('save', function (arg) {
- arg._id.should.equal(post._id)
+ arg.id.should.equal(post.id)
save = true;
});
@@ -3300,7 +3300,7 @@ module.exports = {
});
schema.post('remove', function (arg) {
- arg._id.should.eql(post._id)
+ arg.id.should.eql(post.id)
remove = true;
});

0 comments on commit 90157e8

Please sign in to comment.
Something went wrong with that request. Please try again.