Updated contract docs

This commit is contained in:
Marcin Grzejszczak
2016-12-13 09:52:08 +01:00
parent faa18a69b1
commit 6963528a4a

View File

@@ -602,7 +602,7 @@ and just register it in your `spring.factories` file
[source]
----
include::{tests_path}/spring-cloud-contract-stub-runner-moco/src/test/resources/META-INF/spring.factories[indent=0,lines=1,4]
include::{tests_path}/spring-cloud-contract-stub-runner-moco/src/test/resources/META-INF/spring.factories[indent=0,lines=1..4]
----
that way you'll be able to run stubs using Moco.
@@ -620,7 +620,7 @@ from classpath, copies them to a temp file and then passes that temporary folder
[source,java]
----
include::{tests_path}/spring-cloud-contract-stub-runner-moco/src/test/groovy/org/springframework/cloud/contract/stubrunner/provider/moco/ClasspathStubProvider.groovy[indent=0]
include::{tests_path}/spring-cloud-contract-stub-runner-moco/src/test/groovy/org/springframework/cloud/contract/stubrunner/provider/moco/ClasspathStubProvider.groovy[indent=0,lines=16..-1]
----
and just register it in your `spring.factories` file