diff --git a/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs b/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs
index 1e5a6062..42137555 100644
--- a/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs
+++ b/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs
@@ -96,5 +96,24 @@ public class RepositoryPagesClientTests
Assert.NotEqual(firstPage[3].Url, secondPage[3].Url);
Assert.NotEqual(firstPage[4].Url, secondPage[4].Url);
}
+
+ public class TheGetLatestMethod
+ {
+ readonly IRepositoryPagesClient _repositoryPagesClient;
+ const string owner = "octokit";
+ const string name = "octokit.net";
+
+ public TheGetLatestMethod()
+ {
+ _repositoryPagesClient = Helper.GetAuthenticatedClient().Repository.Page;
+ }
+
+ public async Task ReturnsMetadata()
+ {
+ var data = _repositoryPagesClient.GetLatest(owner, name);
+
+ Assert.NotNull(data.Id);
+ }
+ }
}
}
\ No newline at end of file
diff --git a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj
index a92378cc..6c775ab3 100644
--- a/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj
+++ b/Octokit.Tests.Integration/Octokit.Tests.Integration.csproj
@@ -150,8 +150,8 @@
+
-
diff --git a/Octokit.Tests.Integration/Reactive/ObservableRepositoryDeployKeysClientTests.cs b/Octokit.Tests.Integration/Reactive/ObservableRepositoryDeployKeysClientTests.cs
index 3df43c17..bbcf8ef5 100644
--- a/Octokit.Tests.Integration/Reactive/ObservableRepositoryDeployKeysClientTests.cs
+++ b/Octokit.Tests.Integration/Reactive/ObservableRepositoryDeployKeysClientTests.cs
@@ -103,4 +103,4 @@ public class ObservableRepositoryDeployKeysClientTests : IDisposable
{
Helper.DeleteRepo(_repository);
}
-}
+}
\ No newline at end of file