diff --git a/project.clj b/project.clj index 4161a13..061c6bb 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.clojars.quoll/asami "1.0.1" +(defproject org.clojars.quoll/asami "1.0.2" :description "An in memory graph store for Clojure and ClojureScript" :url "http://github.com/threatgrid/asami" :license {:name "Eclipse Public License" @@ -7,7 +7,7 @@ [org.clojure/clojurescript "1.10.773"] [prismatic/schema "1.1.12"] [org.clojure/core.cache "0.8.2"] - [org.clojars.quoll/zuko "0.1.2"]] + [org.clojars.quoll/zuko "0.1.4"]] :plugins [[lein-cljsbuild "1.1.7"] [cider/cider-nrepl "0.24.0"]] :cljsbuild { diff --git a/test/asami/test_api.cljc b/test/asami/test_api.cljc index 9590871..9d847ad 100644 --- a/test/asami/test_api.cljc +++ b/test/asami/test_api.cljc @@ -102,8 +102,9 @@ {:keys [tempids tx-data] :as r} @(transact c [maksim anna]) one (tempids "maksim") two (tempids "anna")] - (is (= 17 (count tx-data))) + (is (= 19 (count tx-data))) (is (= #{[one :db/ident "maksim"] + [one :tg/entity true] [one :name "Maksim"] [one :age 45] [one :wife two]} @@ -113,6 +114,7 @@ (map (partial take 3)) set))) (is (= #{[two :db/ident "anna"] + [two :tg/entity true] [two :name "Anna"] [two :age 31] [two :husband one]} @@ -149,9 +151,7 @@ (entity d :maksim))) (is (= {:name "Anna" :age 31 - :husband {:name "Maksim" - :age 45 - :aka ["Maks Otto von Stirlitz", "Jack Ryan"]} + :husband {:db/ident :maksim} :aka ["Anitzka"]} (entity d :anna)))))