1602/jugglingdb — pull request #142 by sdrdis (2012-11-03 15:19:05+00:00)
Title: Fixes on common_test

So I tried to fix my unit test so that it work for most of database systems.

First, I added a test case "hasMany should support additional conditions". I noticed 2 potential issues. :
* Mongodb returns no value even when it should return an object.
* When I add an additional condition on the id column, redis returns me an error saying there is no indexes. But shouldn't there be an index for the id column ?

I didn't try to correct them since I know nothing about these database systems (I don't even know if my potential issues are real ones).

So I added conditions in order to not execute my tests with redis, memory, neo4j, and cradle adapters. With mongodb there is a part of my tests I don't execute (due to the potential issue I explained above).

I created a travis account in order to watch my repository :
https://travis-ci.org/#!/sdrdis/jugglingdb

But now there is something I don't understand : though I didn't change the mongodb adapter, mongodb fails for "should handle ORDER clause" ONLY on Node 0.6.

https://travis-ci.org/#!/sdrdis/jugglingdb/jobs/3045505

Any idea where this might coming from ?