public void Begin_nested_section() { var t = new TwitterBootstrap3FormTemplate(); var result = t.BeginNestedSection(new HtmlString("Section Heading"), new HtmlString("<p>Hello</p>"), new { @class = "asdf" }.ToHtmlAttributes()); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }
public void Begin_nested_section_without_leading_html_or_heading() { var t = new TwitterBootstrap3FormTemplate(); var result = t.BeginNestedSection(); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }