From 054523104909c280cafe0d5d928822271de7ddf1 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Tue, 5 Jul 2016 10:37:22 +0200 Subject: [PATCH] Polish --- spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 6ba0c75988..536ff3aa8a 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -4300,7 +4300,7 @@ Here's a typical example: TIP: `RestTemplateBuilder` includes a number of useful methods that can be used to quickly configure a `RestTemplate`. For example, to add BASIC auth support you can use -`build.basicAuthorization("user', "password").build()`. +`builder.basicAuthorization("user", "password").build()`. @@ -5058,7 +5058,7 @@ database you can use the `@AutoConfigureTestDatabase` annotation: [[boot-features-testing-spring-boot-applications-testing-autoconfigured-rest-client]] ==== Auto-configured REST clients -Use `@RestClientTest` annotation can be used if you want to test REST clients. By default +The `@RestClientTest` annotation can be used if you want to test REST clients. By default it will auto-configure Jackson and GSON support, configure a `RestTemplateBuilder` and add support for `MockRestServiceServer`. The specific beans that you want to test should be specified using `value` or `components` attribute of `@RestClientTest`: