diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2019-07-09 16:54:13 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-07-09 16:54:13 +0000 |
commit | 4e6e5d80428a40f0403560b3c8381ea48cf4373e (patch) | |
tree | 3d5b7c516921b4fdcf50ffb71382e49d1474eb66 /test/tasks/ecto/ecto_test.exs | |
parent | 1179a135333aa59e7fa4f5b908e1db8257b994f5 (diff) | |
download | pleroma-4e6e5d80428a40f0403560b3c8381ea48cf4373e.tar.gz pleroma-4e6e5d80428a40f0403560b3c8381ea48cf4373e.zip |
reverse proxy tests
Diffstat (limited to 'test/tasks/ecto/ecto_test.exs')
-rw-r--r-- | test/tasks/ecto/ecto_test.exs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/tasks/ecto/ecto_test.exs b/test/tasks/ecto/ecto_test.exs new file mode 100644 index 000000000..b48662c88 --- /dev/null +++ b/test/tasks/ecto/ecto_test.exs @@ -0,0 +1,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 |