Commit fbffe5f
test: migrate dossier spec examples to seeded records
Replace factory procedure/dossier setup with oaken seeds in sixteen
describe blocks (~55 examples), scope the remaining global
DossierNotification.count assertions, and backdate seeded dossier
traitements by one day so specs freezing time to earlier today still
see them in the past. Full spec runs ~15% faster than the factory
baseline.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 5fef6bc commit fbffe5f
2 files changed
Lines changed: 73 additions & 81 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments