Permalink
Browse files

Removed unnecessary use of OCMock

  • Loading branch information...
1 parent c448e6b commit 11f892d477658d0d070986aa35a719a93990ff0e @sebreh sebreh committed Jan 24, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 PodioKitTests/PKTClientTests.m
@@ -8,7 +8,6 @@
#import <XCTest/XCTest.h>
#import <OHHTTPStubs/OHHTTPStubs.h>
-#import <OCMock/OCMArg.h>
#import "PKTClient.h"
#import "PKTRequest.h"
#import "PKTResponse.h"
@@ -47,7 +46,7 @@ - (void)testInit {
}
- (void)testPerformSuccessfulRequest {
- PKTRequest *request = [PKTRequest GETRequestWithPath:@"/user/status" parameters:[OCMArg any]];
+ PKTRequest *request = [PKTRequest GETRequestWithPath:@"/user/status" parameters:@{@"param1": @"someValue", @"param2": @"someOtherValue"}];
[OHHTTPStubs stubRequestsPassingTest:^BOOL(NSURLRequest *request) {
return [request.URL.host isEqualToString:self.testClient.baseURL.host];

0 comments on commit 11f892d

Please sign in to comment.