From d9a2c6574939d88efbbbc4e5cc02e39ae22e2bf6 Mon Sep 17 00:00:00 2001 From: Marcin Grzejszczak Date: Wed, 20 Jul 2016 15:03:09 +0200 Subject: [PATCH] Updated docs --- README.adoc | 21 +++---------------- docs/src/main/asciidoc/verifier/contract.adoc | 4 ++-- 2 files changed, 5 insertions(+), 20 deletions(-) diff --git a/README.adoc b/README.adoc index bd8dba1b07..d3ac2ef9d5 100644 --- a/README.adoc +++ b/README.adoc @@ -343,14 +343,9 @@ Add the dependency to `Spring Cloud Contract Stub Runner` spring-cloud-contract-wiremock test - - org.springframework.boot - spring-boot-starter-test - test - org.springframework.cloud - spring-cloud-contract-stub-runner + spring-cloud-starter-contract-stub-runner test ---- @@ -428,18 +423,8 @@ You have to add the dependencies needed by the autogenerated tests [source,xml,indent=0] ---- - com.jayway.restassured - spring-mock-mvc - test - - - com.jayway.restassured - spring-mock-mvc - test - - - com.toomuchcoding.jsonassert - jsonassert + org.springframework.cloud + spring-cloud-starter-contract-verifier test ---- diff --git a/docs/src/main/asciidoc/verifier/contract.adoc b/docs/src/main/asciidoc/verifier/contract.adoc index 03f433ea60..bdcbc9ef3c 100644 --- a/docs/src/main/asciidoc/verifier/contract.adoc +++ b/docs/src/main/asciidoc/verifier/contract.adoc @@ -197,7 +197,7 @@ The output message can be triggered by calling a method (e.g. a Scheduler was st [source,groovy] ---- -include::{samples_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=method_trigger,indent=0] +include::{tests_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=method_trigger,indent=0] ---- In this case the output message will be sent to `output` if a method called `bookReturnedTriggered` will be executed. In the message *publisher's* side @@ -209,7 +209,7 @@ The output message can be triggered by receiving a message. [source,groovy] ---- -include::{samples_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=message_trigger,indent=0] +include::{tests_path}/samples-messaging-integration/src/test/groovy/com/example/IntegrationMessagingApplicationSpec.groovy[tags=message_trigger,indent=0] ---- In this case the output message will be sent to `output` if a proper message will be received on the `input` destination. In the message *publisher's* side