mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-19 21:55:12 +00:00
21 lines
630 B
C#
21 lines
630 B
C#
using System.Threading.Tasks;
|
|
|
|
namespace Octokit.Tests.Integration.Clients
|
|
{
|
|
public class RepositoryContentsClientTests
|
|
{
|
|
public class TheGetRootMethod
|
|
{
|
|
[IntegrationTest]
|
|
public async Task GetsRootContents()
|
|
{
|
|
var github = new GitHubClient(new ProductHeaderValue("OctokitTests"))
|
|
{
|
|
Credentials = Helper.Credentials
|
|
};
|
|
|
|
var contents = await github.Repository.Contents.GetForPath("octokit", "octokit.net", "Octokit.Reactive/ObservableGitHubClient.cs");
|
|
}
|
|
}
|
|
}
|
|
} |