Przeglądaj źródła

Allow niladic blocks in #will:.

Herby Vojčík 6 lat temu
rodzic
commit
4bfb4bf856
1 zmienionych plików z 1 dodań i 1 usunięć
  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 }