How to test a Phoenix Controller with Hammox?
Background I am trying to create a mock for one of my behaviours. To this end I am using Hammox (a variation of Mox which extends the api). I have set my application so it gets which module to use from the configuration files, in this case config/test.exs: config/test.exs config :my_app, storage: StorageMock And this […]