Rename properties that have - in their prefix

Rename `reactive-repositories` to `reactiverepositories` and replace
`spring.resources.cache-control` with `spring.resources.cache.control`.

Fixes gh-11090
This commit is contained in:
Phillip Webb
2017-11-22 13:12:25 -08:00
parent 47bc5e71ab
commit d99625fa78
13 changed files with 268 additions and 253 deletions

View File

@@ -121,7 +121,7 @@ public class LocalDevToolsAutoConfigurationTests {
public void resourceCachePeriodIsZero() throws Exception {
this.context = initializeAndRun(WebResourcesConfig.class);
ResourceProperties properties = this.context.getBean(ResourceProperties.class);
assertThat(properties.getCachePeriod()).isEqualTo(Duration.ZERO);
assertThat(properties.getCache().getPeriod()).isEqualTo(Duration.ZERO);
}
@Test