Include files array in the github commit.

Fixes #607.
This commit is contained in:
Daniel Cazzulino
2014-11-28 09:31:10 -03:00
parent 599881acbe
commit ca45ae0555
9 changed files with 85 additions and 1 deletions
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading.Tasks;
using Octokit;
@@ -33,6 +34,14 @@ public class RepositoryCommitsClientTests : IDisposable
Assert.NotNull(commit);
}
[IntegrationTest]
public async Task CanGetCommitWithFiles()
{
var commit = await _fixture.Get("octokit", "octokit.net", "65a22f4d2cff94a286ac3e96440c810c5509196f");
Assert.True(commit.Files.Any(file => file.Filename.EndsWith("IConnection.cs")));
}
[IntegrationTest]
public async Task CanGetListOfCommits()
{