From 5bf15392fa21feef748f6f5d5f194fbc723c5c6a Mon Sep 17 00:00:00 2001 From: "aedampir@gmail.com" Date: Sat, 18 Jun 2016 00:46:33 +0700 Subject: [PATCH] fixed convention tests --- .../Clients/IObservableRepositoriesClient.cs | 8 ++++---- .../Clients/ObservableRepositoriesClient.cs | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs b/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs index 6a587541..952dd82a 100644 --- a/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs +++ b/Octokit.Reactive/Clients/IObservableRepositoriesClient.cs @@ -526,19 +526,19 @@ namespace Octokit.Reactive /// /// The owner of the repository /// The name of the repository - /// The name of the branch + /// The name of the branch /// New values to update the branch with /// The updated - IObservable EditBranch(string owner, string name, string branchName, BranchUpdate update); + IObservable EditBranch(string owner, string name, string branch, BranchUpdate update); /// /// Edit the specified branch with the values given in /// /// The ID of the repository - /// The name of the branch + /// The name of the branch /// New values to update the branch with /// The updated - IObservable EditBranch(int repositoryId, string branchName, BranchUpdate update); + IObservable EditBranch(int repositoryId, string branch, BranchUpdate update); /// /// A client for GitHub's Repo Collaborators. diff --git a/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs b/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs index 5a1b398f..c4839ea0 100644 --- a/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs +++ b/Octokit.Reactive/Clients/ObservableRepositoriesClient.cs @@ -795,32 +795,32 @@ namespace Octokit.Reactive /// /// The owner of the repository /// The name of the repository - /// The name of the branch + /// The name of the branch /// New values to update the branch with /// The updated - public IObservable EditBranch(string owner, string name, string branchName, BranchUpdate update) + public IObservable EditBranch(string owner, string name, string branch, BranchUpdate update) { Ensure.ArgumentNotNullOrEmptyString(owner, "owner"); Ensure.ArgumentNotNullOrEmptyString(name, "name"); - Ensure.ArgumentNotNullOrEmptyString(branchName, "branchName"); + Ensure.ArgumentNotNullOrEmptyString(branch, "branch"); Ensure.ArgumentNotNull(update, "update"); - return _client.EditBranch(owner, name, branchName, update).ToObservable(); + return _client.EditBranch(owner, name, branch, update).ToObservable(); } /// /// Edit the specified branch with the values given in /// /// The ID of the repository - /// The name of the branch + /// The name of the branch /// New values to update the branch with /// The updated - public IObservable EditBranch(int repositoryId, string branchName, BranchUpdate update) + public IObservable EditBranch(int repositoryId, string branch, BranchUpdate update) { - Ensure.ArgumentNotNullOrEmptyString(branchName, "branchName"); + Ensure.ArgumentNotNullOrEmptyString(branch, "branch"); Ensure.ArgumentNotNull(update, "update"); - return _client.EditBranch(repositoryId, branchName, update).ToObservable(); + return _client.EditBranch(repositoryId, branch, update).ToObservable(); } ///