From ee8ed34e9ef2fccb11c8c6338a0952ff3dd19b96 Mon Sep 17 00:00:00 2001 From: rms81 Date: Sun, 1 Feb 2015 19:05:54 +0000 Subject: [PATCH] Add Integration Test for GetAllPublic --- .../Clients/RepositoriesClientTests.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Octokit.Tests.Integration/Clients/RepositoriesClientTests.cs b/Octokit.Tests.Integration/Clients/RepositoriesClientTests.cs index deb3a225..c9fc684f 100644 --- a/Octokit.Tests.Integration/Clients/RepositoriesClientTests.cs +++ b/Octokit.Tests.Integration/Clients/RepositoriesClientTests.cs @@ -534,6 +534,19 @@ public class RepositoriesClientTests } } + public class TheGetAllPublicMethod + { + [IntegrationTest] + public async Task ReturnsAllPublicRepositories() + { + var github = Helper.GetAuthenticatedClient(); + + var repositories = await github.Repository.GetAllPublic(); + + Assert.True(repositories.Count > 80); + } + } + public class TheGetAllForOrgMethod { [IntegrationTest]