public void Should_render_grid_with_sort_direction_descending_as_the_default()
{
ColumnFor(x => x.Id);
ColumnFor(x => x.Name);
ColumnFor(x => x.DateOfBirth).Format("{0:M/d/yyyy}");
_model.Sort(new GridSortOptions() { Direction = SortDirection.Descending });
string expected = "<table class=\"grid\"><thead><tr><th><a href=\"/?Column=Id&Direction=Descending\">Id</a></th><th><a href=\"/?Column=Name&Direction=Descending\">Name</a></th><th><a href=\"/?Column=DateOfBirth&Direction=Descending\">Date Of Birth</a></th></tr></thead><tbody><tr class=\"gridrow\"><td>1</td><td>Jeremy</td><td>4/19/1987</td></tr></tbody></table>";
RenderGrid().ShouldEqual(expected);
}