describe(@"SimpleRemoteObject", ^{ context(@"read remote post object using POST", ^{ beforeAll(^{ [SRRemoteConfig defaultConfig].baseurl = @"http://localhost:2000/"; }); it(@"should get object using POST method", ^{ NSDictionary *params = @{@"key":@"value"}; __block NSArray *ret; [PostObj postAsyncWithParams:params async:^(NSArray *allRemote, NSError *error){ ret = allRemote; }]; [[expectFutureVal