Commit f90baf2
committed
refactor(tests): convert feedback request email tests to delivery assertions
Simplifies after create hook tests by removing mock-based tests
and replacing with direct email delivery verification.
Changes:
- Consolidates two mock-based tests into one email delivery test
- Verifies email is sent and has expected subject
Removes allow().to receive() and have_received() mocks1 parent 1dc8d4f commit f90baf2
1 file changed
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 28 | | |
37 | | - | |
38 | | - | |
39 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
0 commit comments