Skip to content

Instantly share code, notes, and snippets.

@chris-dannen
Created June 7, 2013 14:10
Show Gist options
  • Save chris-dannen/5729535 to your computer and use it in GitHub Desktop.
Save chris-dannen/5729535 to your computer and use it in GitHub Desktop.
[scenario addStep:[KIFTestStep stepWithDescription:@"HAWMessageThreads table should be empty" executionBlock:^(KIFTestStep *step, NSError **error) {
NSArray *threads = [HAWMessageThread MR_findAll];
KIFTestCondition(threads.count == 0, error, @"Threads table should have no threads");
return KIFTestStepResultSuccess;
}]];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment