New unit and integration tests were added in order to test IObservable<EmailAddress> GetAll(ApiOptions options) method.

This commit is contained in:
aedampir@gmail.com
2016-03-15 18:58:57 +07:00
parent 7a01f22ee9
commit dd969f2436
2 changed files with 36 additions and 9 deletions
@@ -17,5 +17,16 @@ namespace Octokit.Tests.Integration
var email = await client.GetAll();
Assert.NotNull(email);
}
[IntegrationTest]
public async Task CanGetEmailWithApiOptions()
{
var github = Helper.GetAuthenticatedClient();
var client = new ObservableUserEmailsClient(github);
var email = await client.GetAll(ApiOptions.None);
Assert.NotNull(email);
}
}
}