blob: b48662c88b9c6eb5caacfb9cda6d1f98cc9f61b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
defmodule Mix.Tasks.Pleroma.EctoTest do
use ExUnit.Case, async: true
test "raise on bad path" do
assert_raise RuntimeError, ~r/Could not find migrations directory/, fn ->
Mix.Tasks.Pleroma.Ecto.ensure_migrations_path(Pleroma.Repo,
migrations_path: "some-path"
)
end
end
end
|