I have a view module in my phoenix application that contains render_footer/1
. How would I go about testing this function using EXUnit?
defmodule Lorem.LayoutView do
use Lorem.Web, :view
def render_footer(conn) do
render __MODULE__, "footer.html", conn: conn
end
end
defmodule Lorem.LayoutViewTest do
use Lorem.ConnCase, async: true
test "render_footer" do
flunk "Not implemented!"
end
end