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.
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.