public void a_foreach_and_current_in_same_scope_produces_the_expected_html_tree() { var list = new List<string> {"one", "two"}; var element = new OneDivPerItemWithID(list); element.Prepare(); element.OuterXml.ShouldBe("<div id=\"one\"></div><div id=\"two\"></div>"); }
public void a_foreach_and_current_in_same_scope_produces_the_expected_html_tree() { var list = new List <string> { "one", "two" }; var element = new OneDivPerItemWithID(list); element.Prepare(); element.OuterXml.ShouldBe("<div id=\"one\"></div><div id=\"two\"></div>"); }