Skip to content

Commit bb8db20

Browse files
authored
Improve Sandbox.start_owner!/2 docs (#301)
1 parent e98933c commit bb8db20

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/ecto/adapters/sql/sandbox.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ defmodule Ecto.Adapters.SQL.Sandbox do
379379
380380
The owner process is not linked to the caller, it is your responsibility to
381381
ensure it will be stopped. In tests, this is done by terminating the pool
382-
in `on_exit` callbacks:
382+
in an `ExUnit.Callbacks.on_exit/2` callback:
383383
384384
setup tags do
385385
pid = Ecto.Adapters.SQL.Sandbox.start_owner!(MyApp.Repo, shared: not tags[:async])

0 commit comments

Comments
 (0)