diff --git a/spring-cloud-contract-maven-plugin/complex-content.html b/spring-cloud-contract-maven-plugin/complex-content.html
index b66cfa4c37..6165cbc796 100644
--- a/spring-cloud-contract-maven-plugin/complex-content.html
+++ b/spring-cloud-contract-maven-plugin/complex-content.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Verifier Maven Plugin –
@@ -104,7 +104,7 @@
- - Last Published: 2016-10-20
+
- Last Published: 2016-10-26
|
- Version: 1.0.2.BUILD-SNAPSHOT
diff --git a/spring-cloud-contract-maven-plugin/complex.html b/spring-cloud-contract-maven-plugin/complex.html
index d7685725ce..e6dd303188 100644
--- a/spring-cloud-contract-maven-plugin/complex.html
+++ b/spring-cloud-contract-maven-plugin/complex.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Verifier Maven Plugin –
@@ -104,7 +104,7 @@
- - Last Published: 2016-10-20
+
- Last Published: 2016-10-26
|
- Version: 1.0.2.BUILD-SNAPSHOT
diff --git a/spring-cloud-contract-maven-plugin/index.html b/spring-cloud-contract-maven-plugin/index.html
index f23cf61be5..95a39e3442 100644
--- a/spring-cloud-contract-maven-plugin/index.html
+++ b/spring-cloud-contract-maven-plugin/index.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Verifier Maven Plugin –
@@ -104,7 +104,7 @@
- - Last Published: 2016-10-20
+
- Last Published: 2016-10-26
|
- Version: 1.0.2.BUILD-SNAPSHOT
diff --git a/spring-cloud-contract-maven-plugin/junit.html b/spring-cloud-contract-maven-plugin/junit.html
index 61e816213d..350019f4f2 100644
--- a/spring-cloud-contract-maven-plugin/junit.html
+++ b/spring-cloud-contract-maven-plugin/junit.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Verifier Maven Plugin –
@@ -104,7 +104,7 @@
- - Last Published: 2016-10-20
+
- Last Published: 2016-10-26
|
- Version: 1.0.2.BUILD-SNAPSHOT
diff --git a/spring-cloud-contract-maven-plugin/sitemap.html b/spring-cloud-contract-maven-plugin/sitemap.html
index 6b0489012b..adbd75e115 100644
--- a/spring-cloud-contract-maven-plugin/sitemap.html
+++ b/spring-cloud-contract-maven-plugin/sitemap.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Verifier Maven Plugin – Sitemap
@@ -104,7 +104,7 @@
- - Last Published: 2016-10-20
+
- Last Published: 2016-10-26
|
- Version: 1.0.2.BUILD-SNAPSHOT
diff --git a/spring-cloud-contract-maven-plugin/spock.html b/spring-cloud-contract-maven-plugin/spock.html
index 0cf1fd5545..a7bb1a1be4 100644
--- a/spring-cloud-contract-maven-plugin/spock.html
+++ b/spring-cloud-contract-maven-plugin/spock.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Verifier Maven Plugin –
@@ -104,7 +104,7 @@
- - Last Published: 2016-10-20
+
- Last Published: 2016-10-26
|
- Version: 1.0.2.BUILD-SNAPSHOT
diff --git a/spring-cloud-contract-maven-plugin/usage.html b/spring-cloud-contract-maven-plugin/usage.html
index b61c5021fe..9aff896c86 100644
--- a/spring-cloud-contract-maven-plugin/usage.html
+++ b/spring-cloud-contract-maven-plugin/usage.html
@@ -1,13 +1,13 @@
-
+
Spring Cloud Contract Verifier Maven Plugin –
@@ -104,7 +104,7 @@
- - Last Published: 2016-10-20
+
- Last Published: 2016-10-26
|
- Version: 1.0.2.BUILD-SNAPSHOT
diff --git a/spring-cloud-contract.html b/spring-cloud-contract.html
index e48d12efe9..3a532df273 100644
--- a/spring-cloud-contract.html
+++ b/spring-cloud-contract.html
@@ -4353,13 +4353,15 @@ class StubRunnerBootSpec extends Specification {
stubId << ['org.springframework.cloud.contract.verifier.stubs:bootService:stubs', 'org.springframework.cloud.contract.verifier.stubs:bootService', 'bootService']
}
- def 'should return when trigger is missing'() {
+ def 'should throw exception when trigger is missing'() {
when:
- def response = RestAssuredMockMvc.post("/triggers/missing_label")
+ RestAssuredMockMvc.post("/triggers/missing_label")
then:
- response.statusCode == 404
- def root = new JsonSlurper().parseText(response.body.asString())
- root.'org.springframework.cloud.contract.verifier.stubs:bootService:0.0.1-SNAPSHOT:stubs'?.containsAll(["delete_book","return_book_1","return_book_2"])
+ Exception e = thrown(Exception)
+ e.message.contains("Exception occurred while trying to return [missing_label] label.")
+ e.message.contains("Available labels are")
+ e.message.contains("org.springframework.cloud.contract.verifier.stubs:loanIssuance:0.0.1-SNAPSHOT:stubs=[]")
+ e.message.contains("org.springframework.cloud.contract.verifier.stubs:bootService:0.0.1-SNAPSHOT:stubs=")
}
}