ash_oban/test/ash_oban_test.exs

15 lines
324 B
Elixir
Raw Normal View History

2023-04-22 16:58:26 +12:00
defmodule AshObanTest do
use ExUnit.Case
doctest AshOban
alias AshOban.Test.Api
alias AshOban.Test.Triggered
2023-04-22 16:58:26 +12:00
test "foo" do
assert [
%AshOban.Trigger{action: :process},
%AshOban.Trigger{action: :process, scheduler: nil}
] = AshOban.Info.oban_triggers(Triggered)
2023-04-22 16:58:26 +12:00
end
end