Travis env update, compare ids as strings

This commit is contained in:
Anatoliy Chakkaev 2012-12-24 22:47:49 +04:00
parent ba81bd8366
commit 5062beb99b
2 changed files with 1 additions and 4 deletions

View File

@ -3,6 +3,3 @@ node_js:
- 0.6
- 0.8
- 0.9
services:
- neo4j
- couchdb

View File

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