Could not render "template.html" for MyAppWeb.View, please define a matching clause for render/2 or define a template at "lib/myapp_web/templates/template"
I thought there must be some simple standard way of testing partial templates. I’ve googled and couldn’t find any resources and I’ve got the latest beta of the Phoenix book too!
Yeah, looks like that’s correct. Pushed past that error now.
Something like: content = render_to_string(MyAppWeb.MainView(not the partial!), "partial_template", conn: conn)