public void TestSimpleInvoice() { AspApprovals.VerifyAspPage(new InvoiceView().TestSimpleInvoice, HtmlScrubbers.ScrubAsp); // -- These are the same thing //AspApprovals.VerifyUrl("http://localhost:1360/Orders/InvoiceView.aspx?TestSimpleInvoice"); }
public void TestSimpleInvoice() { PortFactory.AspPort = 1359; Func <string, string> htmlScrubber = s => Regex.Replace(s, AspViewState, "<!-- aspviewstate -->"); AspApprovals.VerifyAspPage(new InvoiceView().TestSimpleInvoice, htmlScrubber); // -- These are the same thing //AspApprovals.VerifyUrl("http://localhost:1359/Orders/InvoiceView.aspx?TestSimpleInvoice"); }