Skip to content

Instantly share code, notes, and snippets.

@jhollingworth
Created June 7, 2010 12:45
Show Gist options
  • Save jhollingworth/428627 to your computer and use it in GitHub Desktop.
Save jhollingworth/428627 to your computer and use it in GitHub Desktop.
var call = new XmlApiCall
{
Codec = new XmlCodec(),
Username = Settings.MeetingsManager,
Password = Settings.Password,
RequestAuthenticationMechanism = new OAuthWrapAuthenticationMechanism(OAuthToken)
};
var calendar = call.Get<WorkspaceCalendar>("v2/calendar/workspaces/123").Data;
Assert.AreEqual(calendar.Events.Count, PageUnderTest.Tasks.Count, "Number of tasks returned by the API and displayed in the page should be the same");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment