1 defmodule Mix.Tasks.Pleroma.EctoTest do
2 use ExUnit.Case, async: true
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"