mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 21:43:12 +12:00
37cc01957d
* WIP * chore: fix mix.lock merge issues * improvement: upgrade to 3.0 * chore: remove `repo.to_tenant` * chore: continue removal of unnecessary helper * chore: use `Ash.ToTenant`
13 lines
308 B
Elixir
13 lines
308 B
Elixir
defmodule AshPostgres.EnumTest do
|
|
@moduledoc false
|
|
use AshPostgres.RepoCase, async: false
|
|
alias AshPostgres.Test.Post
|
|
|
|
require Ash.Query
|
|
|
|
test "valid values are properly inserted" do
|
|
Post
|
|
|> Ash.Changeset.for_create(:create, %{title: "title", status: :open})
|
|
|> Ash.create!()
|
|
end
|
|
end
|