Created
July 5, 2016 13:11
-
-
Save jakubnabrdalik/951e1a02ca8572d296b90baabcc65a66 to your computer and use it in GitHub Desktop.
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
org.springframework.cloud.contract.spec.Contract.make { | |
request { | |
method 'GET' | |
url $(client(regex('/api/articles/.*')), server(execute('getArticleId()'))) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//WYNIK generacji
def validate_shouldFetchArticle() throws Exception {
given:
def request = given()
.header('Content-Type', 'application/json;charset=UTF-8')