I'm new to Spock and would like to write tests for a REST interface with Spock and REST-assured. Knowing REST-assurend combined with Java, I would like how to use REST-assurend with Spock. Can anyone provide an example for this?
REST-Assured DSL seems to contradict Spock DSL. Potential solutions are adapting the former (for example, using Groovy extension methods) or including all the code in one block expect: