Convert to jar with thymeleaf

This commit is contained in:
Dave Syer 2016-11-10 16:51:14 +00:00
parent 3450c3d99e
commit e38a9feebe
65 changed files with 778 additions and 1076 deletions

View file

@ -65,13 +65,4 @@ public class VisitControllerTests {
.andExpect(view().name("pets/createOrUpdateVisitForm"));
}
@Test
public void testShowVisits() throws Exception {
mockMvc.perform(get("/owners/*/pets/{petId}/visits", TEST_PET_ID))
.andExpect(status().isOk())
.andExpect(model().attributeExists("visits"))
.andExpect(view().name("visitList"));
}
}