diff --git a/Octokit.Reactive/Clients/IObservableEventsClient.cs b/Octokit.Reactive/Clients/IObservableEventsClient.cs index 558b7f70..7bf37345 100644 --- a/Octokit.Reactive/Clients/IObservableEventsClient.cs +++ b/Octokit.Reactive/Clients/IObservableEventsClient.cs @@ -76,7 +76,7 @@ namespace Octokit.Reactive /// /// The owner of the repository /// The name of the repository - IObservable GetAllIssuesForRepository(string owner, string name); + IObservable GetAllIssuesForRepository(string owner, string name); /// /// Gets all the issue events for a given repository @@ -85,7 +85,7 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository /// /// The Id of the repository - IObservable GetAllIssuesForRepository(long repositoryId); + IObservable GetAllIssuesForRepository(long repositoryId); /// /// Gets all the issue events for a given repository @@ -96,7 +96,7 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Options for changing the API response - IObservable GetAllIssuesForRepository(string owner, string name, ApiOptions options); + IObservable GetAllIssuesForRepository(string owner, string name, ApiOptions options); /// /// Gets all the issue events for a given repository @@ -106,7 +106,7 @@ namespace Octokit.Reactive /// /// The Id of the repository /// Options for changing the API response - IObservable GetAllIssuesForRepository(long repositoryId, ApiOptions options); + IObservable GetAllIssuesForRepository(long repositoryId, ApiOptions options); /// /// Gets all the events for a given repository network diff --git a/Octokit.Reactive/Clients/ObservableEventsClient.cs b/Octokit.Reactive/Clients/ObservableEventsClient.cs index b365ea0a..ea3a09bc 100644 --- a/Octokit.Reactive/Clients/ObservableEventsClient.cs +++ b/Octokit.Reactive/Clients/ObservableEventsClient.cs @@ -107,14 +107,14 @@ namespace Octokit.Reactive } /// - /// Gets all the events for a given repository + /// Gets all the issue events for a given repository /// /// /// http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository /// /// The owner of the repository /// The name of the repository - public IObservable GetAllIssuesForRepository(string owner, string name) + public IObservable GetAllIssuesForRepository(string owner, string name) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); @@ -129,13 +129,13 @@ namespace Octokit.Reactive /// http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository /// /// The Id of the repository - public IObservable GetAllIssuesForRepository(long repositoryId) + public IObservable GetAllIssuesForRepository(long repositoryId) { return GetAllIssuesForRepository(repositoryId, ApiOptions.None); } /// - /// Gets all the events for a given repository + /// Gets all the issue events for a given repository /// /// /// http://developer.github.com/v3/activity/events/#list-issue-events-for-a-repository @@ -143,13 +143,13 @@ namespace Octokit.Reactive /// The owner of the repository /// The name of the repository /// Options for changing the API response - public IObservable GetAllIssuesForRepository(string owner, string name, ApiOptions options) + public IObservable GetAllIssuesForRepository(string owner, string name, ApiOptions options) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); Ensure.ArgumentNotNull(options, "options"); - return _connection.GetAndFlattenAllPages(ApiUrls.IssuesEvents(owner, name), options); + return _connection.GetAndFlattenAllPages(ApiUrls.IssuesEvents(owner, name), options); } /// @@ -160,11 +160,11 @@ namespace Octokit.Reactive /// /// The Id of the repository /// Options for changing the API response - public IObservable GetAllIssuesForRepository(long repositoryId, ApiOptions options) + public IObservable GetAllIssuesForRepository(long repositoryId, ApiOptions options) { Ensure.ArgumentNotNull(options, "options"); - return _connection.GetAndFlattenAllPages(ApiUrls.IssuesEvents(repositoryId), options); + return _connection.GetAndFlattenAllPages(ApiUrls.IssuesEvents(repositoryId), options); } /// diff --git a/Octokit.Tests.Integration/Reactive/ObservableEventsClientTests.cs b/Octokit.Tests.Integration/Reactive/ObservableEventsClientTests.cs index 60ae9041..3cef1ffd 100644 --- a/Octokit.Tests.Integration/Reactive/ObservableEventsClientTests.cs +++ b/Octokit.Tests.Integration/Reactive/ObservableEventsClientTests.cs @@ -170,7 +170,7 @@ namespace Octokit.Tests.Integration.Reactive _eventsClient = new ObservableEventsClient(Helper.GetAuthenticatedClient()); } - [IntegrationTest(Skip = "These tests just don't work any more")] + [IntegrationTest] public async Task ReturnsRepositoryEvents() { var options = new ApiOptions @@ -185,7 +185,7 @@ namespace Octokit.Tests.Integration.Reactive Assert.NotEmpty(repositoryEvents); } - [IntegrationTest(Skip = "These tests just don't work any more")] + [IntegrationTest] public async Task ReturnsCorrectCountOfRepositoryEventsWithoutStart() { var options = new ApiOptions @@ -199,7 +199,7 @@ namespace Octokit.Tests.Integration.Reactive Assert.Equal(5, repositoryEvents.Count); } - [IntegrationTest(Skip = "These tests just don't work any more")] + [IntegrationTest] public async Task ReturnsCorrectCountOfRepositoryEventsWithStart() { var options = new ApiOptions @@ -214,7 +214,7 @@ namespace Octokit.Tests.Integration.Reactive Assert.Equal(5, repositoryEvents.Count); } - [IntegrationTest(Skip = "These tests just don't work any more")] + [IntegrationTest] public async Task ReturnsDistinctRepositoryEventsBasedOnStartPage() { var startOptions = new ApiOptions