Parcourir la source

Allow niladic blocks in #will:.

Herby Vojčík il y a 6 ans
Parent
commit
4bfb4bf856
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/Znock/ZnockExpectation.class.st

+ 1 - 1
src/Znock/ZnockExpectation.class.st

@@ -20,7 +20,7 @@ ZnockExpectation >> customizeResponseBlock: anObject [
 
 { #category : #operations }
 ZnockExpectation >> customizeResponseFromRequest: aZnRequest [
-	customizeResponseBlock ifNotNil: [ customizeResponseBlock value: aZnRequest value: response ]
+	customizeResponseBlock ifNotNil: [ customizeResponseBlock cull: aZnRequest cull: response ]
 ]
 
 { #category : #accessing }