Beispiel #1
0
        public void Begin_nested_section()
        {
            var t = new DefaultFormTemplate();

            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 DefaultFormTemplate();

            var result = t.BeginNestedSection();

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }
Beispiel #3
0
        public void Begin_nested_section_without_leading_html_or_heading()
        {
            var t = new DefaultFormTemplate();

            var result = t.BeginNestedSection();

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }
        public void Begin_nested_section()
        {
            var t = new DefaultFormTemplate();

            var result = t.BeginNestedSection(new HtmlString("Section Heading"), new HtmlString("<p>Hello</p>"), new { @class = "asdf" }.ToHtmlAttributes());

            HtmlApprovals.VerifyHtml(result.ToHtmlString());
        }