I’m sending emails using Mandrill, and each of the calls to its API are after a call to this.unblock();
.
My problem is simple, how do you test this kind of code? I’m using a test API key that doesn’t actually send emails, but my method updates my collection once I get a response, I’d like to test that this is done.