First of all, thank you @benwilson512 and the Absinthe team for your work!
What do you think about bypassing conn using Absinthe.run like so?:
test "query for a post by its ID" do
{:ok, result} =
"""
{
post(id: 42) {
title
body
}
}
"""
|> Absinthe.run(Blog.Schema)
assert result == %{
data: %{
"post" => %{
"title" => "Lorem ipsum",
"body" => "Lorem ipsum dolor sit amet, consectetur adipiscing elit"
}
}
}
end






















