diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 033c0a7e868..c3b6e7aa453 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -2000,6 +2000,8 @@ in order to run your integration tests using random ports. For example: See <> for a description of how you can discover the actual port that was allocated for the duration of the tests. + + [[boot-features-testing-spring-boot-applications-with-spock]] ==== Using Spock to test Spring Boot applications @@ -2007,9 +2009,9 @@ If you wish to use Spock to test a Spring Boot application then you cannot use t `@SpringApplicationConfiguration` annotation that was <> as Spock https://code.google.com/p/spock/issues/detail?id=349[does not find the -`@ContextConfiguration` meta-annotation]. To work around -this limitation, you should use the `@ContextConfiguration` annotation directly and -configure it to use the Spring Boot-specfic context loader: +`@ContextConfiguration` meta-annotation]. To work around this limitation, you should use +the `@ContextConfiguration` annotation directly and configure it to use the Spring +Boot specific context loader: [source,groovy,indent=0] ---- diff --git a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java b/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java index 7009a67f6a1..d4950c71fc4 100644 --- a/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java +++ b/spring-boot-integration-tests/src/test/java/org/springframework/boot/gradle/RepackagingTests.java @@ -31,6 +31,11 @@ import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertThat; import static org.junit.Assert.assertTrue; +/** + * Integration tests for gradle repackaging. + * + * @author Andy Wilkinson + */ public class RepackagingTests { private static final String BOOT_VERSION = ManagedDependencies.get()