Skip to content

Commit 5a6c355

Browse files
dreis2211wilkinsona
authored andcommitted
Update docs and internal dep mgmt following Spock 2.0's release
See gh-26586
1 parent d8b0aad commit 5a6c355

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/features/testing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -872,10 +872,10 @@ Alternatively, you can specify a source for your test, which disables the behavi
872872
==== Using Spock to Test Spring Boot Applications
873873
If you wish to use Spock to test a Spring Boot application, you should add a dependency on Spock's `spock-spring` module to your application's build.
874874
`spock-spring` integrates Spring's test framework into Spock.
875-
See https://spockframework.org/spock/docs/2.0-M4/modules.html#_spring_module[the documentation for Spock's Spring module] for further details.
875+
See https://spockframework.org/spock/docs/2.0/modules.html#_spring_module[the documentation for Spock's Spring module] for further details.
876876

877877
NOTE: As of Spring Boot 2.5.x and its support for Groovy 3.x you have two options to make use of Spock:
878-
Either use the latest Spock 2.0 milestone or release that is compatible with Groovy 3.x or stick with Spock 1.3 and downgrade Spring Boot's Groovy version to 2.5.x.
878+
Either use the latest Spock 2.x release that is compatible with Groovy 3.x or stick with Spock 1.3 and downgrade Spring Boot's Groovy version to 2.5.x.
879879

880880

881881

spring-boot-project/spring-boot-parent/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ bom {
133133
]
134134
}
135135
}
136-
library("Spock Framework", "2.0-M4-groovy-3.0") {
136+
library("Spock Framework", "2.0-groovy-3.0") {
137137
group("org.spockframework") {
138138
modules = [
139139
"spock-core",

0 commit comments

Comments
 (0)