projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document dump_to_file and load_from_file
[akkoma]
/
test
/
pleroma
/
utils_test.exs
diff --git
a/test/pleroma/utils_test.exs
b/test/pleroma/utils_test.exs
index c593a9490705b28abbb8f3465a042692c9c6d156..e2157367990e0c47e2b663bc23958ae7abbc1f15 100644
(file)
--- a/
test/pleroma/utils_test.exs
+++ b/
test/pleroma/utils_test.exs
@@
-12,4
+12,11
@@
defmodule Pleroma.UtilsTest do
File.rm_rf(path)
end
end
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
end