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

Direction_heading_should_not_override_custom_class() private méthode

private Direction_heading_should_not_override_custom_class ( ) : void
Résultat void
        public void Direction_heading_should_not_override_custom_class()
        {
            ColumnFor(x => x.Name).HeaderAttributes(@class => "foo");
            _model.Sort(new GridSortOptions() { Column = "Name" });
            string expected = "<table class=\"grid\"><thead><tr><th class=\"foo sort_asc\"><a href=\"/?Column=Name&amp;Direction=Descending\">Name</a></th></tr></thead><tbody><tr class=\"gridrow\"><td>Jeremy</td></tr></tbody></table>";
            RenderGrid().ShouldEqual(expected);
        }
GridRendererTester