Fixed tests

This commit is contained in:
Marcin Grzejszczak
2017-04-14 17:16:01 +02:00
parent 3b00f11efc
commit f4aa98636e
2 changed files with 17 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
package com.example.source;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* @author Marcin Grzejszczak
*/
@RestController
class FooController {
@GetMapping("/foo")
void foo() {
}
}

View File

@@ -3,7 +3,7 @@ package contracts
org.springframework.cloud.contract.spec.Contract.make {
request {
method(GET())
url("/health")
url("/foo")
}
response {
status(200)