limadelic / datomicjs

js driver for datomic
MIT License
50 stars 5 forks source link

new methods and fixes to test #1

Closed shaunxcode closed 11 years ago

shaunxcode commented 12 years ago

Hey this contains some new methods (storages and databases respectively) and then some fixes to the tests. Mainly parsing the response to json so mocha can then make its assertions. The other major change to the testing is I changed the attributes to be :movie/title and :movie/rating otherwise you are creating "global" attributes. Also I am using #db/id [:db.part/user] to generate ids for any entities that are created rather than 1,2,3,4 etc. as those are already globally utilized entity ids for db internals.

msuarz commented 11 years ago

wow sorry i didn't notice this request :( .. ty