Commit 2f95bbb
Enable transactional fixtures in dummy app's specs
This wraps each example in a transaction that's rolled back at the end
of the example to avoid records leaking from one test to the next.
Without this, if you repeatedly run tests, your database will repeatedly
grow, and depending on your assertions, may fail due to data from
previous test runs.
CI wouldn't have surfaced this issue as it creates a new DB for each
run.1 parent 4d34320 commit 2f95bbb
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments