define a custom Repos property when searching issues

This commit is contained in:
Brendan Forster
2015-07-12 20:59:31 -07:00
parent e202c61eda
commit cf1b99dd3d
3 changed files with 83 additions and 10 deletions
@@ -1,4 +1,6 @@
using System.Linq;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks;
using Octokit;
using Octokit.Tests.Integration;
@@ -45,6 +47,11 @@ public class SearchClientTests
public async Task SearchForWordInCode()
{
var request = new SearchIssuesRequest("windows");
request.Repos = new Collection<string> {
"aspnet/dnx",
"aspnet/dnvm"
};
request.SortField = IssueSearchSort.Created;
request.Order = SortDirection.Descending;