public void Should_render_empty_table_with_custom_message() { _people.Clear(); string expected = ExpectedEmptyTable("Test", "grid"); // "<table class=\"grid\"><tr><td>Test</td></tr></table>"; _model.Empty("Test"); RenderGrid().ShouldEqual(expected); }
public void Should_define_empty_text() { _model.Empty("Foo"); AsGridModel.EmptyText.ShouldEqual("Foo"); }