Revert "Trying to make moco thing work"

This reverts commit 29f1d614eb.
This commit is contained in:
Marcin Grzejszczak
2017-05-31 16:42:50 +02:00
parent 29f1d614eb
commit cd67e1f0ea
3 changed files with 6 additions and 6 deletions

View File

@@ -37,11 +37,12 @@ import spock.lang.Specification
* @author Marcin Grzejszczak
*/
@ContextConfiguration(classes = MocoConfig, loader = SpringBootContextLoader)
// tag::[classpath_stub_runner]
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE)
@AutoConfigureStubRunner(ids = ["com.example:fraudDetectionServerMoco:+:"],
workOffline = true,
stubsPerConsumer = true,
consumerName = "nested")
// to use stubs from classpath just provide ids without passing any other properties to
// @AutoConfigureStubRunner
@AutoConfigureStubRunner( ids = ["com.example:fraudDetectionServerMoco"])
// end::[classpath_stub_runner]
@DirtiesContext
@ActiveProfiles("test")
class MocoHttpServerStubSpec extends Specification {