Ver Fonte

Allow niladic blocks in #will:.

Herby Vojčík há 6 anos atrás
pai
commit
4bfb4bf856
1 ficheiros alterados com 1 adições e 1 exclusões
  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 }