module Phlex::Testing::ViewHelper

def render(view, &block)

def render(view, &block)
	if view.is_a?(Class) && view < Phlex::SGML
		view = view.new
	end
	view.call(view_context: view_context, &block)
end

def view_context

def view_context
	nil
end