This commit is contained in:
Dave Syer 2014-01-17 17:40:01 +00:00
parent d01bc59d7e
commit d53a52cf1a
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class SampleWebStaticApplicationTests {
@Test
public void testCss() throws Exception {
ResponseEntity<String> entity = getRestTemplate().getForEntity(
"http://localhost:8080/css/bootstrap.min.css", String.class);
"http://localhost:8080/webjars/bootstrap/3.0.3/css/bootstrap.min.css", String.class);
assertEquals(HttpStatus.OK, entity.getStatusCode());
assertTrue("Wrong body:\n" + entity.getBody(), entity.getBody().contains("body"));
assertEquals("Wrong content type:\n" + entity.getHeaders().getContentType(),