Chnage LastApiInfo to GetLastApiInfo with cloned version

This commit is contained in:
Mark Taylor
2015-08-16 21:27:26 +01:00
parent 5bd1f1d6c5
commit b2c7e1c2a7
13 changed files with 224 additions and 33 deletions
+2 -2
View File
@@ -630,7 +630,7 @@ namespace Octokit.Tests.Http
httpClient,
Substitute.For<IJsonSerializer>());
var result = connection.LastApiInfo;
var result = connection.GetLastApiInfo();
Assert.Null(result);
}
@@ -692,7 +692,7 @@ namespace Octokit.Tests.Http
connection.Get<PullRequest>(new Uri("https://example.com"), TimeSpan.MaxValue);
var result = connection.LastApiInfo;
var result = connection.GetLastApiInfo();
// No point checking all of the values as they are tested elsewhere
// Just provde that the ApiInfo is populated