mirror of
https://github.com/ash-project/ash_oban.git
synced 2024-09-21 05:43:24 +12:00
2ce62a5770
improvement: support destroy actions in the trigger action improvement: debug logs
14 lines
324 B
Elixir
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
|