mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
Even more faster tests.
This commit is contained in:
parent
04d40575da
commit
1233089ee4
3 changed files with 19 additions and 23 deletions
|
@ -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("")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue