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

Should_render_custom_attributes_for_header_row() private méthode

private Should_render_custom_attributes_for_header_row ( ) : void
Résultat void
        public void Should_render_custom_attributes_for_header_row()
        {
            ColumnFor(x => x.Name);
            _model.Sections.HeaderRowAttributes(new Hash(foo => "bar"));
            string expected = "<table class=\"grid\"><thead><tr foo=\"bar\"><th>Name</th></tr></thead><tbody><tr class=\"gridrow\"><td>Jeremy</td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester