Permalink
Browse files

add test for non-retained config strings

  • Loading branch information...
1 parent 6f7247b commit 24644bf2d1f8f6adeca6c7672b8d36ce26b470db vickeryj committed Jul 29, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 Classes/DogTest.m
View
@@ -17,7 +17,9 @@ @implementation DogTest
static Person *owner;
-(void) setUp {
- [ObjectiveResourceConfig setSite:@"http://localhost:36313/"];
+ NSString *site = [[NSString alloc] initWithString:@"http://localhost:36313/"];
+ [ObjectiveResourceConfig setSite:site];
+ [site release];
[ObjectiveResourceConfig setResponseType:JSONResponse];
//[ObjectiveResource setResponseType:XmlResponse];
[ObjectiveResourceConfig setUser:@"Hiro"];

0 comments on commit 24644bf

Please sign in to comment.