ash_oban/test/ash_oban_test.exs
Zach Daniel 2ce62a5770 docs: update docs to remove bad example
improvement: support destroy actions in the trigger action
improvement: debug logs
2023-08-31 11:25:05 -04:00

14 lines
324 B
Elixir

defmodule AshObanTest do
use ExUnit.Case
doctest AshOban
alias AshOban.Test.Api
alias AshOban.Test.Triggered
test "foo" do
assert [
%AshOban.Trigger{action: :process},
%AshOban.Trigger{action: :process, scheduler: nil}
] = AshOban.Info.oban_triggers(Triggered)
end
end