Deploying Phoenix Apps for Rails developers: Part 2 Playing with Pipes

Mocks and side effects

This post describes a pattern for implementing code with side effects in a testable way in Elixir.

https://pryin.io/blog/mocks-and-side-effects/