mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-04-29 05:05:34 +08:00
Normalized the bundle identifier for Logic and Application Tests to 'org.restkit.tests'
This commit is contained in:
@@ -59,8 +59,7 @@
|
||||
NSURL* URL = [NSURL URLWithString:URLString];
|
||||
RKRequest* request = [[RKRequest alloc] initWithURL:URL];
|
||||
RKParams* params = [[RKParams params] retain];
|
||||
NSBundle *testBundle = [NSBundle bundleWithIdentifier:@"org.restkit.unit-tests"];
|
||||
NSString* filePath = [testBundle pathForResource:@"blake" ofType:@"png"];
|
||||
NSString* filePath = [RKTestFixture pathForFixture:@"blake.png"];
|
||||
[params setFile:filePath forParam:@"file"];
|
||||
[params setValue:@"this is the value" forParam:@"test"];
|
||||
request.method = RKRequestMethodPOST;
|
||||
|
||||
Reference in New Issue
Block a user