|
@@ -55,6 +55,7 @@ ZnockClient >> matches: aZnockExpectation [
|
|
[ :authority | authority = req url authority ifFalse: [ ^ false ] ].
|
|
[ :authority | authority = req url authority ifFalse: [ ^ false ] ].
|
|
exp method ifNotNil:
|
|
exp method ifNotNil:
|
|
[ :method | method = req method ifFalse: [ ^ false ] ].
|
|
[ :method | method = req method ifFalse: [ ^ false ] ].
|
|
|
|
+ (req url path beginsWith: exp url path) ifFalse: [ ^ false ].
|
|
|
|
|
|
^ true
|
|
^ true
|
|
]
|
|
]
|