Testing Elixir: Mox mode is private since the test is running with async (page 84-)

Andrea Leopardi (@whatyouhide) and Jeffrey Matthias (@idlehands),

SoggyWaffle.WeatherCheckerTest is using the :set_mox_from_context setup function, this means that Mox will run in private mode since async: true is passed to ExUnit.Case as an option. This causes a Mox.UnexpectedCallError when running the test.

Ah. I see that. Let’s blame Andrea. We will take a note for any upcoming revisions. Thanks for letting us know.