Fix broken lukewarm test

Synce we just return the task, this method is called immediately. That's
fine for now. This unit test is just here to document the current behavior
so we know when it changes. It changed!
This commit is contained in:
Haacked
2013-10-31 10:06:50 -07:00
parent 49493ffabe
commit de2f978c1d
@@ -26,7 +26,8 @@ namespace Octokit.Tests.Reactive
var gitHubClient = new GitHubClient(connection);
var client = new ObservableRepositoriesClient(gitHubClient);
var observable = client.Get("stark", "ned");
connection.Received(0).GetAsync<Repository>(Args.Uri);
connection.Received(1).GetAsync<Repository>(Args.Uri, null, null);
var result = await observable;
connection.Received(1).GetAsync<Repository>(Args.Uri, null, null);