|
|
|
@ -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"); |
|
|
|
|