Fix test: not strict equal when comparing ids

This commit is contained in:
Anatoliy Chakkaev 2012-04-11 19:52:46 +04:00
parent 6c0ac6df16
commit 6be57cf454
1 changed files with 1 additions and 1 deletions

View File

@ -403,7 +403,7 @@ function testOrm(schema) {
if (err) return console.log(err);
// test.ok(post.author(), u.id);
u.posts(function (err, posts) {
test.strictEqual(posts.pop().id, post.id);
test.equal(posts.pop().id, post.id);
test.done();
});
});