Bläddra i källkod

Allow niladic blocks in #will:.

Herby Vojčík 6 år sedan
förälder
incheckning
4bfb4bf856
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 }