diff --git a/test/maru/entity_test.exs b/test/maru/entity_test.exs index f38e7fb..c2f3f19 100644 --- a/test/maru/entity_test.exs +++ b/test/maru/entity_test.exs @@ -368,6 +368,7 @@ defmodule Maru.EntityTest do use Maru.Entity expose :id + expose :author, [using: Maru.EntityTest.AuthorEntity9], fn post -> %{name: "#{post.author.first_name} #{post.author.last_name}"} end