public void Should_render_custom_attributes_for_row()
{
ColumnFor(x => x.Name);
_model.Sections.RowAttributes(x => new Hash(foo => "bar"));
string expected = "<table class=\"grid\"><thead><tr><th>Name</th></tr></thead><tbody><tr foo=\"bar\" class=\"gridrow\"><td>Jeremy</td></tr></tbody></table>";
RenderGrid().ShouldEqual(expected);
}