Update test for #128

This commit is contained in:
Anatoliy Chakkaev 2013-01-22 23:57:30 +07:00
parent 9fcd8235fe
commit c6d7360f51
1 changed files with 1 additions and 1 deletions

View File

@ -1273,7 +1273,7 @@ function testOrm(schema) {
test.equal(post && post.constructor.modelName, 'Post'); test.equal(post && post.constructor.modelName, 'Post');
test.equal(post && post.title, 'hey'); test.equal(post && post.title, 'hey');
Post.findOne({ where: { title: 'not exists' } }, function (err, post) { Post.findOne({ where: { title: 'not exists' } }, function (err, post) {
test.ok(typeof post === 'undefined'); test.ok(post === null);
test.done(); test.done();
}); });
}); });