aboutsummaryrefslogtreecommitdiff
path: root/test/runtime_test.exs
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2019-12-06 17:05:09 +0700
committerEgor Kislitsyn <egor@kislitsyn.com>2019-12-06 17:05:09 +0700
commita75d4a41e03979b4d1b9af5205e457d714ff76df (patch)
tree174458f007f4ba8e92f76aba82e49f557b332f2b /test/runtime_test.exs
parente4292cbfad47e59c76461fa201bab3e5f791962b (diff)
downloadpleroma-a75d4a41e03979b4d1b9af5205e457d714ff76df.tar.gz
Add a test for custom runtime modules
Diffstat (limited to 'test/runtime_test.exs')
-rw-r--r--test/runtime_test.exs11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/runtime_test.exs b/test/runtime_test.exs
new file mode 100644
index 000000000..f7b6f23d4
--- /dev/null
+++ b/test/runtime_test.exs
@@ -0,0 +1,11 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2018 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 Code.ensure_compiled?(RuntimeModule)
+ end
+end