Permalink
Browse files

Fix test for pull request 519

  • Loading branch information...
1 parent 7174937 commit 1a4bd9b4e89cd3c8c4b11c46ce97b3fb97efc925 Christopher Swasey committed with blakewatters Jan 23, 2012
Showing with 2 additions and 3 deletions.
  1. +2 −3 Specs/Network/RKRequestSpec.m
@@ -109,9 +109,8 @@ - (void)testShouldTimeoutAtInterval {
- (void)testShouldCreateOneTimeoutTimer {
RKSpecResponseLoader* loader = [RKSpecResponseLoader responseLoader];
- NSString* url = RKSpecGetBaseURL();
- NSURL* URL = [NSURL URLWithString:url];
- RKRequest* request = [[RKRequest alloc] initWithURL:URL];
+ RKURL* url = RKSpecGetBaseURL();
+ RKRequest* request = [[RKRequest alloc] initWithURL:url];
request.delegate = loader;
id requestMock = [OCMockObject partialMockForObject:request];
[[[requestMock expect] andCall:@selector(incrementMethodInvocationCounter) onObject:self] createTimeoutTimer];

0 comments on commit 1a4bd9b

Please sign in to comment.