A simple integration test

This commit is contained in:
Jeff Foster
2015-08-10 14:54:47 +01:00
parent 720cd17770
commit 9634dd510c
@@ -43,6 +43,19 @@ public class SearchClientTests
Assert.NotEmpty(repos.Items);
}
[Fact]
public async Task SearchForFileNameInCode()
{
var request = new SearchCodeRequest("swag")
{
FileName = "readme.md"
};
var repos = await _gitHubClient.Search.SearchCode(request);
Assert.NotEmpty(repos.Items);
}
[Fact]
public async Task SearchForWordInCode()
{