public void Index() { var result = new _Views_Home_Index_cshtml(); var doc = result.RenderAsHtml(); using (var s = new StringWriter()) { doc.Save(s); VerifyApprovedHtmlResult(s.ToString()); } }
public void Setup() { index = new _Views_Home_Index_cshtml(); }