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

Should_render_custom_attributes_in_table_cell() private méthode

private Should_render_custom_attributes_in_table_cell ( ) : void
Résultat void
        public void Should_render_custom_attributes_in_table_cell()
        {
            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=\"bar\">Jeremy</td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester