Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ATHStart();
[_blog validateJetpackUsername:@"test1" password:@"test1" success:^{
STFail(@"User test1 shouldn't have access to test.blog");
ATHNotify();
} failure:^(NSError *error) {
STAssertEquals(error.domain, BlogJetpackErrorDomain, nil);
STAssertEquals(error.code, BlogJetpackErrorCodeNoRecordForBlog, nil);
ATHNotify();
}];
ATHWait();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment