mirror of
https://github.com/zhigang1992/RestKit.git
synced 2026-05-05 06:47:22 +08:00
Fix and test coverage for base URLs containing a path
This commit is contained in:
@@ -53,5 +53,10 @@
|
||||
assertThat([URL absoluteString], is(equalTo(@"http://restkit.org")));
|
||||
}
|
||||
|
||||
- (void)itShouldHandleBaseURLsWithAPath {
|
||||
RKURL* URL = [RKURL URLWithBaseURLString:@"http://restkit.org/this" resourcePath:@"/test" queryParams:nil];
|
||||
assertThat([URL absoluteString], is(equalTo(@"http://restkit.org/this/test")));
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user