mirror of
https://github.com/team-alembic/ash_authentication.git
synced 2024-09-20 05:13:10 +12:00
1c8f138c67
Highlights: * Replaced `AshAuthentication.Provider` with the much more flexible `AshAuthentication.Strategy`. * Moved strategies to within the `authentication` DSL using entities and removed excess extensions. * Added a lot more documentation and test coverage.
12 lines
338 B
Elixir
12 lines
338 B
Elixir
defmodule AshAuthenticationTest do
|
|
@moduledoc false
|
|
use DataCase, async: true
|
|
import AshAuthentication
|
|
doctest AshAuthentication
|
|
|
|
describe "authenticated_resources/0" do
|
|
test "it correctly locates all authenticatable resources" do
|
|
assert [Example.User] = authenticated_resources(:ash_authentication)
|
|
end
|
|
end
|
|
end
|