Change expecteddatoms
and expectedtransaction
to their kebab case, EDN valid counterparts. Related to #270
parent
eb2146e53a
commit
ea8f126858
1 changed files with 4 additions and 4 deletions
|
@ -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]}}]
|
||||
```
|
Loading…
Reference in a new issue