updated SearchCode to match correct response shape

This commit is contained in:
Brendan Forster
2014-03-05 22:42:10 +11:00
parent 433e9249a9
commit b64527ec92
12 changed files with 63 additions and 25 deletions
@@ -32,4 +32,14 @@ public class SearchClientTests
Assert.NotEmpty(repos.Items);
}
[Fact]
public async Task SearchForFunctionInCode()
{
var request = new SearchCodeRequest("addClass");
request.Repo = "jquery/jquery";
var repos = await _gitHubClient.Search.SearchCode(request);
Assert.NotEmpty(repos.Items);
}
}