This project is read-only.

RazorGenerator.Testing render a view with RenderAction

Jul 4, 2014 at 8:18 PM
I have a problem with unit test some views who call Html.RenderAction. It looks like that my route table is not populate, but I don't know how to do it.

var viewToRender = new iAMPSP2.Views.MyController.MyView();
CQ htmlDoc = viewToRender.Render(model);
Some helps should be very appreciate !
Jul 4, 2014 at 9:00 PM
Can you be more specific what the problem is? What is the behavior that you are observing?