Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix tests

  • Loading branch information...
commit 90157e857081fc714cff17c25bffa87b378ef5bb 1 parent 107194f
@aheckmann aheckmann authored
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;
});
Please sign in to comment.
Something went wrong with that request. Please try again.