Sync docs from 2.1.x to gh-pages

This commit is contained in:
buildmaster
2019-11-05 13:57:32 +00:00
parent ff0b19e9da
commit c16cafefbc
3 changed files with 15 additions and 0 deletions

View File

@@ -527,6 +527,11 @@ its methods as presented below:</p><pre class="programlisting"><xslthl:annotatio
System.clearProperty(<span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">"stubrunner.classifier"</span>)
}
def <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'should mark all ports as random'</span>() {
expect:
WireMockHttpServerStubAccessor.everyPortRandom()
}
def <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'should start WireMock servers'</span>() {
expect: <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'WireMocks are running'</span>
stubFinder.findStubUrl(<span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'org.springframework.cloud.contract.verifier.stubs'</span>, <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'loanIssuance'</span>) != null

View File

@@ -3103,6 +3103,11 @@ its methods as presented below:</p><pre class="programlisting"><xslthl:annotatio
System.clearProperty(<span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">"stubrunner.classifier"</span>)
}
def <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'should mark all ports as random'</span>() {
expect:
WireMockHttpServerStubAccessor.everyPortRandom()
}
def <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'should start WireMock servers'</span>() {
expect: <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'WireMocks are running'</span>
stubFinder.findStubUrl(<span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'org.springframework.cloud.contract.verifier.stubs'</span>, <span xmlns:d="http://docbook.org/ns/docbook" class="hl-string">'loanIssuance'</span>) != null

View File

@@ -5115,6 +5115,11 @@ class StubRunnerConfigurationSpec extends Specification {
System.clearProperty("stubrunner.classifier")
}
def 'should mark all ports as random'() {
expect:
WireMockHttpServerStubAccessor.everyPortRandom()
}
def 'should start WireMock servers'() {
expect: 'WireMocks are running'
stubFinder.findStubUrl('org.springframework.cloud.contract.verifier.stubs', 'loanIssuance') != null