Updated Groovy version, changed StubTrigger name

This commit is contained in:
Marcin Grzejszczak
2016-04-25 15:43:42 +02:00
parent 941a7bd30c
commit 3232adefe6
5 changed files with 6 additions and 6 deletions

View File

@@ -13,8 +13,8 @@
- now all DSL files have to be under `contractsDslDir`/*subpackage* resulting in `basePackageForTests`.*subpackage* test package creation
- If you don't migrate to the new approach you will have your tests under `contractsDslDir`.`contractsDslDir`.*subpackage*
=== Migration to 1.0.7
- from 1.0.7 we're setting JUnit as a default testing utility. You have to pass the following option to keep Spock
=== Migration to {messaging_version}
- from {messaging_version} we're setting JUnit as a default testing utility. You have to pass the following option to keep Spock
as your first choice:
[source,groovy]

View File

@@ -16,7 +16,7 @@ To trigger a message it's enough to use the `StubTiggerer` interface:
[source,groovy]
----
include::../../../../stub-runner/stub-runner/src/main/groovy/io/codearte/accurest/stubrunner/StubTriggerer.groovy[]
include::../../../../stub-runner/stub-runner/src/main/groovy/io/codearte/accurest/stubrunner/StubTrigger.groovy[]
----
For convenience the `StubFinder` interface extends `StubTrigger` so it's enough to use only one in your tests.