Get the SHA-1 of a commit reference

Updated RepositoryCommitsClients and unit/integration tests
This commit is contained in:
Roger Tinsley
2016-03-16 21:59:33 +00:00
parent f354d1bf00
commit 5dfe1968da
4 changed files with 63 additions and 0 deletions
@@ -87,6 +87,14 @@ public class RepositoryCommitsClientTests
.Where(file => file.Status == "renamed")
.All(file => string.IsNullOrEmpty(file.PreviousFileName) == false));
}
[IntegrationTest]
public async Task CanGetSha1()
{
var sha1 = await _fixture.Sha1("octokit", "octokit.net", "master");
Assert.NotNull(sha1);
}
}
public class TestsWithNewRepository : IDisposable