Skip to content

Commit 91cff7d

Browse files
committed
Fixes validation test for mongodb
1 parent 3521e73 commit 91cff7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/validation.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ describe("Validations", function() {
8989

9090
john.save(function (err) {
9191
should.equal(err, null);
92-
john.id.should.be.a('number');
92+
should.exist(john[Person.id]);
9393

9494
return done();
9595
});

0 commit comments

Comments
 (0)