Switch invalid URL unit test to connect to localhost on a random port rather than a domain. refs #744

This commit is contained in:
Blake Watters
2012-05-16 21:59:12 -04:00
parent 3fb2b023fa
commit 2fd239e7ff

View File

@@ -296,7 +296,7 @@
}
- (void)testThatLoadingInvalidURLDoesNotCrashApp {
NSURL *URL = [[NSURL alloc] initWithString:@"http://biz.gg"];
NSURL *URL = [[NSURL alloc] initWithString:@"http://localhost:5629"];
RKTestResponseLoader* loader = [RKTestResponseLoader responseLoader];
RKClient *client = [RKClient clientWithBaseURL:URL];