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