Normalized the bundle identifier for Logic and Application Tests to 'org.restkit.tests'

This commit is contained in:
Blake Watters
2012-04-06 09:50:19 -04:00
parent b18abc04ed
commit 515a8dfcfb
9 changed files with 23 additions and 18 deletions

View File

@@ -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;