Change expecteddatoms and expectedtransaction to their kebab case, EDN valid counterparts. Related to #270

Jordan Santell 2017-02-10 16:31:46 -08:00
parent eb2146e53a
commit ea8f126858

@ -13,8 +13,8 @@ and at least one of the following optional keys:
| key | type | description | example | | key | type | description | example |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `:test/expectedtransaction` | set | transacted datoms, w/ `added` | `#{[?tx1 :db/txInstant ?ms1 ?tx1 true]}` | | `:test/expected-transaction` | 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-datoms` | set | all datoms after bootstrap, w/o `:db/txInstant` datoms | `#{[E A V ?tx1]}` |
## Special values ## Special values
@ -33,11 +33,11 @@ Therefore every expected transaction should include a datom like:
:test/assertions :test/assertions
[[:db/add 100 :db/ident :keyword/value1] [[:db/add 100 :db/ident :keyword/value1]
[:db/add 101 :db/ident :keyword/value2]] [:db/add 101 :db/ident :keyword/value2]]
:test/expectedtransaction :test/expected-transaction
#{[100 :db/ident :keyword/value1 ?tx1 true] #{[100 :db/ident :keyword/value1 ?tx1 true]
[101 :db/ident :keyword/value2 ?tx1 true] [101 :db/ident :keyword/value2 ?tx1 true]
[?tx1 :db/txInstant ?ms1 ?tx1 true]} [?tx1 :db/txInstant ?ms1 ?tx1 true]}
:test/expecteddatoms :test/expected-datoms
#{[100 :db/ident :keyword/value1] #{[100 :db/ident :keyword/value1]
[101 :db/ident :keyword/value2]}}] [101 :db/ident :keyword/value2]}}]
``` ```