Simplify trigger email notification test
It's better to have the implementation details encapsulated in a method that is called by the test than having all of it inside the test itself. This way the `it` block gets cleaner and more focused.
Showing
Please register or sign in to comment