Skip to content

Commit

Permalink
add test for non-retained config strings
Browse files Browse the repository at this point in the history
(cherry picked from commit 24644bf)
  • Loading branch information
vickeryj committed Jul 29, 2009
1 parent ec579d1 commit d0dd282
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Classes/DogTest.m
Expand Up @@ -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"];
Expand Down

0 comments on commit d0dd282

Please sign in to comment.