mirror of
https://github.com/ash-project/ash_sqlite.git
synced 2024-09-19 12:52:50 +12:00
15 lines
346 B
Elixir
15 lines
346 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{
|
|
id: Ash.UUID.generate(),
|
|
name: "The Org"
|
|
}
|
|
|> AshSqlite.TestRepo.insert!()
|
|
|
|
assert org.name == "The Org"
|
|
end
|
|
end
|