From c3a46b8ac46c55b110b8d11e42ce6d38e1a281cd Mon Sep 17 00:00:00 2001 From: Mattt Thompson Date: Tue, 18 Jun 2013 09:04:24 -0700 Subject: [PATCH] [Issue #1065] Remove test for NSParameterAssert raise --- Tests/AFURLConnectionOperationTests.m | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Tests/AFURLConnectionOperationTests.m b/Tests/AFURLConnectionOperationTests.m index 4b3cbe3..7982789 100644 --- a/Tests/AFURLConnectionOperationTests.m +++ b/Tests/AFURLConnectionOperationTests.m @@ -37,10 +37,6 @@ #pragma mark - -- (void)testInitWithNilRequestRaisesException { - expect(^{ (void)[[AFURLConnectionOperation alloc] initWithRequest:nil]; }).to.raiseAny(); -} - - (void)testThatAFURLConnectionOperationInvokesWillSendRequestForAuthenticationChallengeBlock { NSURLRequest *request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"/path" relativeToURL:self.baseURL]]; AFURLConnectionOperation *operation = [[AFURLConnectionOperation alloc] initWithRequest:request];