Even more faster tests.

This commit is contained in:
kay.one 2011-11-16 22:40:54 -08:00
commit 1233089ee4
3 changed files with 19 additions and 23 deletions

View file

@ -9,12 +9,12 @@ namespace NzbDrone.Common.Test
public class WebClientTests : TestBase
{
[Test]
public void DownloadString_should_be_able_to_download_jquery()
public void DownloadString_should_be_able_to_dowload_text_file()
{
var jquery = new WebClientProvider().DownloadString("http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js");
var jquery = new WebClientProvider().DownloadString("http://www.google.com/robots.txt");
jquery.Should().NotBeBlank();
jquery.Should().Contain("function(a,b)");
jquery.Should().Contain("Sitemap");
}
[TestCase("")]