public void Begin_section_without_leading_html_or_heading() { var t = new DefaultFormTemplate(); var result = t.BeginSection(); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }
public void Begin_section_without_leading_html_or_heading() { var t = new DefaultFormTemplate(); var result = t.BeginSection(); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }
public void Begin_section() { var t = new DefaultFormTemplate(); var result = t.BeginSection(new HtmlString("Section Heading"), new HtmlString("<p>hello</p>"), new { @class = "asdf" }.ToHtmlAttributes()); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }
public void Begin_section() { var t = new DefaultFormTemplate(); var result = t.BeginSection(new HtmlString("Section Heading"), new HtmlString("<p>hello</p>"), new { @class = "asdf" }.ToHtmlAttributes()); HtmlApprovals.VerifyHtml(result.ToHtmlString()); }