|
|
@ -124,7 +124,8 @@ |
|
|
|
XCTAssertNotNil(value, @"nil value received as response."); |
|
|
|
XCTAssertNotNil(value, @"nil value received as response."); |
|
|
|
[response fulfill]; |
|
|
|
[response fulfill]; |
|
|
|
RGDFeature *feature = [RGDFeature parseFromData:value]; |
|
|
|
RGDFeature *feature = [RGDFeature parseFromData:value]; |
|
|
|
NSLog(@"%@ %@", feature.name, feature.location); |
|
|
|
XCTAssertEqualObjects(point, feature.location); |
|
|
|
|
|
|
|
XCTAssertNotNil(feature.name, @"Response's name is nil."); |
|
|
|
[expectedResponse fulfill]; |
|
|
|
[expectedResponse fulfill]; |
|
|
|
} completionHandler:^(NSError *errorOrNil) { |
|
|
|
} completionHandler:^(NSError *errorOrNil) { |
|
|
|
XCTAssertNil(errorOrNil, @"Finished with unexpected error: %@", errorOrNil); |
|
|
|
XCTAssertNil(errorOrNil, @"Finished with unexpected error: %@", errorOrNil); |
|
|
|