Closes gh-5925
This commit is contained in:
Johnny Lim
2016-05-12 13:55:13 +09:00
committed by Stephane Nicoll
parent afec397edd
commit 7c34dd87c1
3 changed files with 6 additions and 7 deletions

View File

@@ -4900,9 +4900,9 @@ database you can use the `@AutoConfigureTestDatabase` annotation:
[[boot-features-testing-spring-boot-applications-testing-autoconfigured-rest-docs]]
==== Auto-configured Spring REST Docs tests
Test `@AutoConfigureRestDocs` annotation can be used if you want to use Spring REST Docs
`@AutoConfigureRestDocs` annotation can be used if you want to use Spring REST Docs
in your tests. It will automatically configure `MockMvc` to use Spring REST Docs and
removes the need for Spring REST Docs' JUnit rule.
remove the need for Spring REST Docs' JUnit rule.
[source,java,indent=0]
----
@@ -4964,7 +4964,7 @@ automatically generate the default snippets:
[source,java,indent=0]
----
@TestConfiguration
static class ResultHandlerConfiguration{
static class ResultHandlerConfiguration {
@Bean
public RestDocumentationResultHandler restDocumentation() {