From 033329de1905014003d49efdb34f8be90d77f1e2 Mon Sep 17 00:00:00 2001 From: Adriel Bento Date: Sat, 30 Oct 2021 14:01:46 -0300 Subject: [PATCH] Fix moduledoc (#120) --- lib/mox.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mox.ex b/lib/mox.ex index c3e54c9..906258b 100644 --- a/lib/mox.ex +++ b/lib/mox.ex @@ -56,7 +56,7 @@ defmodule Mox do is to define the mock with `defmock/2`, usually in your `test_helper.exs`, and configure your application to use it: - Mox.defmock(MyApp.MockWeatherAPI, for: MyApp.Weather) + Mox.defmock(MyApp.MockWeatherAPI, for: MyApp.WeatherAPI) Application.put_env(:my_app, :weather, MyApp.MockWeatherAPI) Now in your tests, you can define expectations with `expect/4` and verify