MvcContrib.UnitTests.UI.Grid.GridRendererTester.Should_encode_custom_attributes C# (CSharp) Méthode

Should_encode_custom_attributes() private méthode

private Should_encode_custom_attributes ( ) : void
Résultat void
        public void Should_encode_custom_attributes()
        {
            ColumnFor(x => x.Name).Attributes(foo => "\"bar\"");
            string expected =
                "<table class=\"grid\"><thead><tr><th>Name</th></tr></thead><tbody><tr class=\"gridrow\"><td foo=\"&quot;bar&quot;\">Jeremy</td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester