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