summaryrefslogtreecommitdiff
path: root/test/pleroma/runtime_test.exs
diff options
context:
space:
mode:
Diffstat (limited to 'test/pleroma/runtime_test.exs')
-rw-r--r--test/pleroma/runtime_test.exs12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/pleroma/runtime_test.exs b/test/pleroma/runtime_test.exs
new file mode 100644
index 000000000..010594fcd
--- /dev/null
+++ b/test/pleroma/runtime_test.exs
@@ -0,0 +1,12 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2020 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.RuntimeTest do
+ use ExUnit.Case, async: true
+
+ test "it loads custom runtime modules" do
+ assert {:module, Fixtures.Modules.RuntimeModule} ==
+ Code.ensure_compiled(Fixtures.Modules.RuntimeModule)
+ end
+end