mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 03:01:31 +00:00
Rename tests
Some RepositoriesClientTests test methods had the names wrong. According to the method name the method under test would return organizations and not repositories.
This commit is contained in:
@@ -263,7 +263,7 @@ namespace Octokit.Tests.Clients
|
||||
public class TheGetAllForCurrentMethod
|
||||
{
|
||||
[Fact]
|
||||
public void RequestsTheCorrectUrlAndReturnsOrganizations()
|
||||
public void RequestsTheCorrectUrlAndReturnsRepositories()
|
||||
{
|
||||
var connection = Substitute.For<IApiConnection>();
|
||||
var client = new RepositoriesClient(connection);
|
||||
@@ -278,7 +278,7 @@ namespace Octokit.Tests.Clients
|
||||
public class TheGetAllForUserMethod
|
||||
{
|
||||
[Fact]
|
||||
public void RequestsTheCorrectUrlAndReturnsOrganizations()
|
||||
public void RequestsTheCorrectUrlAndReturnsRepositories()
|
||||
{
|
||||
var connection = Substitute.For<IApiConnection>();
|
||||
var client = new RepositoriesClient(connection);
|
||||
@@ -301,7 +301,7 @@ namespace Octokit.Tests.Clients
|
||||
public class TheGetAllForOrgMethod
|
||||
{
|
||||
[Fact]
|
||||
public void RequestsTheCorrectUrlAndReturnsOrganizations()
|
||||
public void RequestsTheCorrectUrlAndReturnsRepositories()
|
||||
{
|
||||
var connection = Substitute.For<IApiConnection>();
|
||||
var client = new RepositoriesClient(connection);
|
||||
|
||||
Reference in New Issue
Block a user