Merge branch '1.5.x'

This commit is contained in:
Phillip Webb
2017-01-05 23:39:30 -08:00
40 changed files with 1928 additions and 11 deletions

View File

@@ -60,4 +60,11 @@ public class SampleDevToolsApplicationIntegrationTests {
assertThat(entity.getBody()).contains("public file");
}
@Test
public void testClassResource() throws Exception {
ResponseEntity<String> entity = this.restTemplate
.getForEntity("/application.properties", String.class);
assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);
}
}