ash_authentication/test/ash_authentication_test.exs

14 lines
384 B
Elixir
Raw Normal View History

2022-09-28 09:54:05 +13:00
defmodule AshAuthenticationTest do
@moduledoc false
use DataCase, async: true
import AshAuthentication
2022-09-28 09:54:05 +13:00
doctest AshAuthentication
describe "authenticated_resources/0" do
test "it correctly locates all authenticatable resources" do
assert [Example.User, Example.UserWithTokenRequired] =
authenticated_resources(:ash_authentication)
end
2022-09-28 09:54:05 +13:00
end
end