Commit 8737dbd
committed
refactor(tests): convert attendance warning email test to delivery assertions
Replaces spy-based mock test with email delivery verification.
Changes:
- 'sends an attendance warning email' - finds email by recipient and subject
- Uses flexible matching to account for other emails in deliveries
Removes allow().to receive() and have_received() mocks1 parent 2d1d4f3 commit 8737dbd
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
| 15 | + | |
| 16 | + | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
| |||
0 commit comments