Resolve follow activity from accept/reject without ID (#328)
[akkoma] / test / pleroma / utils_test.exs
index c593a9490705b28abbb8f3465a042692c9c6d156..e2157367990e0c47e2b663bc23958ae7abbc1f15 100644 (file)
@@ -12,4 +12,11 @@ defmodule Pleroma.UtilsTest do
       File.rm_rf(path)
     end
   end
+
+  describe "compile_dir/1" do
+    test "recursively compiles directories" do
+      {:ok, [DynamicModule.First, DynamicModule.Second], []} =
+        Pleroma.Utils.compile_dir("test/fixtures/runtime_modules")
+    end
+  end
 end