Skip to content

Commit

Permalink
Fix moduledoc (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrielBento authored Oct 30, 2021
1 parent da38363 commit 033329d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mox.ex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 033329d

Please sign in to comment.