diff --git a/Tests/AFHTTPClientTests.m b/Tests/AFHTTPClientTests.m index 5fab52d..d7188b2 100644 --- a/Tests/AFHTTPClientTests.m +++ b/Tests/AFHTTPClientTests.m @@ -265,7 +265,7 @@ } failure:nil]; expect([self.client.operationQueue operationCount]).will.equal(0); - expect(blockResponseObject).notTo.beNil(); + expect(blockResponseObject).willNot.beNil(); expect(blockResponseObject).to.beKindOf([NSData class]); NSError *error = nil;