public void telephonebox_list_renders_list() { var html = new TelephoneBox("foo").List("list1").ToString(); html.ShouldHaveHtmlNode("foo") .ShouldHaveAttribute(HtmlAttribute.List).WithValue("list1"); }
public void basic_telephonebox_render() { var html = new TelephoneBox("foo").ToString(); html.ShouldHaveHtmlNode("foo") .ShouldBeNamed(HtmlTag.Input) .ShouldHaveAttribute(HtmlAttribute.Type).WithValue(HtmlInputType.Telephone); }
public void basic_telephonebox_render() { var html = new TelephoneBox("foo").ToString(); html.ShouldHaveHtmlNode("foo") .ShouldBeNamed(HtmlTag.Input) .ShouldHaveAttribute(HtmlAttribute.Type).WithValue(HtmlInputType.Telephone); }
public void telephonebox_list_renders_list() { var html = new TelephoneBox("foo").List("list1").ToString(); html.ShouldHaveHtmlNode("foo") .ShouldHaveAttribute(HtmlAttribute.List).WithValue("list1"); }