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());
            }
        }
예제 #2
0
 public void Setup()
 {
     index = new _Views_Home_Index_cshtml();
 }