зеркало из https://github.com/github/AFNetworking.git
[Issue #1065] Remove test for NSParameterAssert raise
This commit is contained in:
Родитель
1e205bc199
Коммит
c3a46b8ac4
|
@ -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];
|
||||
|
|
Загрузка…
Ссылка в новой задаче