Testing Delete Operation

Learn how to test Delete operation in Elixir

The delete function

Our last function, delete/1, is simple to test, as the code is a straight pass-through to Repo.delete/1.

Let’s look at the function:

Get hands-on with 1200+ tech skills courses.