Пример #1
0
 public void add_script_of_a_different_type()
 {
     document.AddScript("text/x-ecmascript", "var today;");
     document.ToString().ShouldContain("</title><script type=\"text/x-ecmascript\">" + Environment.NewLine + "var today;" + Environment.NewLine + "</script></head>");
 }