diff --git a/test/aprsme/application_test.exs b/test/aprsme/application_test.exs index df2bbc6..c66ade3 100644 --- a/test/aprsme/application_test.exs +++ b/test/aprsme/application_test.exs @@ -23,4 +23,12 @@ defmodule Aprsme.ApplicationTest do assert function_exported?(Aprsme.Application, :config_change, 3) end end + + describe "module compilation" do + test "Application module is loaded and has the Application behaviour" do + Code.ensure_loaded!(Aprsme.Application) + behaviours = Aprsme.Application.module_info(:attributes)[:behaviour] || [] + assert Application in behaviours + end + end end