12 lines
432 B
C
12 lines
432 B
C
|
#import <Nocilla/Nocilla.h>
|
||
|
|
||
|
static inline LSStubRequestDSL *stubAnyRequest() {
|
||
|
NSError *regexError;
|
||
|
NSRegularExpression *anyRequestRegex =
|
||
|
[NSRegularExpression regularExpressionWithPattern:@".*"
|
||
|
options:0
|
||
|
error:®exError];
|
||
|
NSCParameterAssert(!regexError);
|
||
|
return stubRequest(@"GET", anyRequestRegex);
|
||
|
}
|