mirror of
https://github.com/ash-project/ash_postgres.git
synced 2024-09-21 05:53:18 +12:00
13 lines
305 B
Elixir
13 lines
305 B
Elixir
|
defmodule AshPostgres.EctoCompatibilityTest do
|
||
|
use AshPostgres.RepoCase, async: false
|
||
|
require Ash.Query
|
||
|
|
||
|
test "call Ecto.Repo.insert! via Ash Repo" do
|
||
|
org =
|
||
|
%AshPostgres.Test.Organization{name: "The Org"}
|
||
|
|> AshPostgres.TestRepo.insert!()
|
||
|
|
||
|
assert org.name == "The Org"
|
||
|
end
|
||
|
end
|