Templating

Take a look at how the final email is templated and how to test that the templating is done correctly.

We'll cover the following...

Our last task before tying it all up is templating. This will be a simple section with limited tests, but we’ll still manage with properties. The requirement is straightforward. Send an email with the text:

Happy birthday, dear $first_name!.

The tests

The function should take one employee term, ...