Current section

Files

Jump to
drab test drab controller_test.exs
Raw

test/drab/controller_test.exs

defmodule Drab.ControllerTest do
use ExUnit.Case, ascync: true
doctest Drab.Controller
defmodule TestController do
use Drab.Controller
end
test "__drab__/0 should return the valid commander" do
assert TestController.__drab__() == %{commander: Drab.ControllerTest.TestCommander}
end
end