mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-20 21:43:12 +12:00
14 lines
299 B
Elixir
14 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
|