Skip to content

Commit

Permalink
Fix test for pull request 519
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Swasey authored and blakewatters committed Jan 24, 2012
1 parent 7174937 commit 1a4bd9b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Specs/Network/RKRequestSpec.m
Expand Up @@ -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];
Expand Down

0 comments on commit 1a4bd9b

Please sign in to comment.