Created
October 9, 2017 01:31
-
-
Save brendonanderson/98b708f585dc3cc232f7b2e36099c3bd to your computer and use it in GitHub Desktop.
example functional spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void 'testConsume'() { | |
given: | |
String key = '1' | |
String json = """{"key":"${key}", "data": "foo"}""" | |
when: | |
postJson('/test', json) | |
then: | |
consume('output-topic', key, 5, 500) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment