Merge branch '2.0.x'
This commit is contained in:
commit
0dc4afdefd
|
@ -112,8 +112,7 @@ public class FreeMarkerAutoConfigurationServletIntegrationTests {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void customTemplateLoaderPath() throws Exception {
|
public void customTemplateLoaderPath() throws Exception {
|
||||||
load(
|
load("spring.freemarker.templateLoaderPath:classpath:/custom-templates/");
|
||||||
"spring.freemarker.templateLoaderPath:classpath:/custom-templates/");
|
|
||||||
MockHttpServletResponse response = render("custom");
|
MockHttpServletResponse response = render("custom");
|
||||||
String result = response.getContentAsString();
|
String result = response.getContentAsString();
|
||||||
assertThat(result).contains("custom");
|
assertThat(result).contains("custom");
|
||||||
|
|
Loading…
Reference in New Issue