TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Dec 2014 |
Maintained by Max Goedjen.
Install with CocoaPods
target :MyAppTests, :exclusive => true do
pod 'MXGSynchronizeTest'
end
#import <MXGSynchronizeTest/XCTest+MXGSynchronizeTest.h>
[XCTest mxg_synchronizeTest:^(BOOL *finished) {
[MXGSomeService loadDataWithCompletion:^(id someObject, NSError *error) {
XCTAssertNil(error, @"Error should be nil");
XCTAssertNotNil(someObject, @"Response object should not be nil");
*finished = YES;
}];
}];