Fixing unit tests

This commit is contained in:
Stanley Goldman
2016-10-16 10:51:09 -04:00
parent 80615e5a92
commit 7fb35ca20c
@@ -156,7 +156,7 @@ namespace Octokit.Tests.Reactive
client.GetAllIssuesForRepository("fake", "repo");
gitHubClient.Connection.Received(1).Get<List<Activity>>(new Uri("repos/fake/repo/issues/events", UriKind.Relative),
gitHubClient.Connection.Received(1).Get<List<IssueEvent>>(new Uri("repos/fake/repo/issues/events", UriKind.Relative),
Args.EmptyDictionary, null);
}
@@ -168,7 +168,7 @@ namespace Octokit.Tests.Reactive
client.GetAllIssuesForRepository(1);
gitHubClient.Connection.Received(1).Get<List<Activity>>(new Uri("repositories/1/issues/events", UriKind.Relative),
gitHubClient.Connection.Received(1).Get<List<IssueEvent>>(new Uri("repositories/1/issues/events", UriKind.Relative),
Args.EmptyDictionary, null);
}
@@ -187,7 +187,7 @@ namespace Octokit.Tests.Reactive
client.GetAllIssuesForRepository("fake", "repo", options);
gitHubClient.Connection.Received(1).Get<List<Activity>>(new Uri("repos/fake/repo/issues/events", UriKind.Relative),
gitHubClient.Connection.Received(1).Get<List<IssueEvent>>(new Uri("repos/fake/repo/issues/events", UriKind.Relative),
Arg.Is<IDictionary<string, string>>(d => d.Count == 2), null);
}
@@ -206,7 +206,7 @@ namespace Octokit.Tests.Reactive
client.GetAllIssuesForRepository(1, options);
gitHubClient.Connection.Received(1).Get<List<Activity>>(new Uri("repositories/1/issues/events", UriKind.Relative),
gitHubClient.Connection.Received(1).Get<List<IssueEvent>>(new Uri("repositories/1/issues/events", UriKind.Relative),
Arg.Is<IDictionary<string, string>>(d => d.Count == 2), null);
}