mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 13:33:50 +12:00
13 lines
299 B
Elixir
13 lines
299 B
Elixir
defmodule AshPostgres.EnumTest do
|
|
@moduledoc false
|
|
use AshPostgres.RepoCase, async: false
|
|
alias AshPostgres.Test.{Api, Post}
|
|
|
|
require Ash.Query
|
|
|
|
test "valid values are properly inserted" do
|
|
Post
|
|
|> Ash.Changeset.new(%{title: "title", status: :open})
|
|
|> Api.create!()
|
|
end
|
|
end
|