We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c956a8b commit e34b7f1Copy full SHA for e34b7f1
lib/mox.ex
@@ -523,7 +523,7 @@ defmodule Mox do
523
defmock(MyApp.MockWeatherAPI, for: MyApp.WeatherAPI)
524
stub_with(MyApp.MockWeatherAPI, MyApp.StubWeatherAPI)
525
526
- This is the same as calling `stub/3` for each behaviour in `MyApp.MockWeatherAPI`:
+ This is the same as calling `stub/3` for each callback in `MyApp.MockWeatherAPI`:
527
528
stub(MyApp.MockWeatherAPI, :temp, &MyApp.StubWeatherAPI.temp/1)
529
stub(MyApp.MockWeatherAPI, :humidity, &MyApp.StubWeatherAPI.humidity/1)
0 commit comments