From ea8f126858d416f6357ac01cf017a07dd7c6e482 Mon Sep 17 00:00:00 2001 From: Jordan Santell Date: Fri, 10 Feb 2017 16:31:46 -0800 Subject: [PATCH] Change `expecteddatoms` and `expectedtransaction` to their kebab case, EDN valid counterparts. Related to #270 --- Transacting:-EDN-test-format.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Transacting:-EDN-test-format.md b/Transacting:-EDN-test-format.md index 9b594e4..f63e40a 100644 --- a/Transacting:-EDN-test-format.md +++ b/Transacting:-EDN-test-format.md @@ -13,8 +13,8 @@ and at least one of the following optional keys: | key | type | description | example | | --- | --- | --- | --- | -| `:test/expectedtransaction` | set | transacted datoms, w/ `added` | `#{[?tx1 :db/txInstant ?ms1 ?tx1 true]}` | -| `:test/expecteddatoms` | set | all datoms after bootstrap, w/o `:db/txInstant` datoms | `#{[E A V ?tx1]}` | +| `:test/expected-transaction` | set | transacted datoms, w/ `added` | `#{[?tx1 :db/txInstant ?ms1 ?tx1 true]}` | +| `:test/expected-datoms` | set | all datoms after bootstrap, w/o `:db/txInstant` datoms | `#{[E A V ?tx1]}` | ## Special values @@ -33,11 +33,11 @@ Therefore every expected transaction should include a datom like: :test/assertions [[:db/add 100 :db/ident :keyword/value1] [:db/add 101 :db/ident :keyword/value2]] - :test/expectedtransaction + :test/expected-transaction #{[100 :db/ident :keyword/value1 ?tx1 true] [101 :db/ident :keyword/value2 ?tx1 true] [?tx1 :db/txInstant ?ms1 ?tx1 true]} - :test/expecteddatoms + :test/expected-datoms #{[100 :db/ident :keyword/value1] [101 :db/ident :keyword/value2]}}] ``` \ No newline at end of file