diff --git a/examples/groovy/helloworld.it.groovy b/examples/groovy/helloworld.it.groovy index 73a543ee..3ec239c1 100644 --- a/examples/groovy/helloworld.it.groovy +++ b/examples/groovy/helloworld.it.groovy @@ -16,4 +16,4 @@ */ given: - - echo("Hello! YAKS rocks!") + $(echo("Hello! YAKS rocks!")) diff --git a/examples/groovy/messaging.test.groovy b/examples/groovy/messaging.test.groovy index 7a2b8c2a..506a8f72 100644 --- a/examples/groovy/messaging.test.groovy +++ b/examples/groovy/messaging.test.groovy @@ -53,13 +53,13 @@ given: } when: - - send().endpoint(hello) - .message() - .body('${text}') - .header("operation", "say-hello") + $(send().endpoint(hello) + .message() + .body('${text}') + .header("operation", "say-hello")) then: - - receive().endpoint(hello) - .message() - .header("operation", "say-hello") - .body('${text}') + $(receive().endpoint(hello) + .message() + .header("operation", "say-hello") + .body('${text}'))