Forgot to add the new Entity to the JPA configuration for fix for #14.

This commit is contained in:
Jon Brisbin
2012-05-23 10:32:37 -05:00
parent 9fb07a0fe5
commit e0b3d84362
2 changed files with 2 additions and 1 deletions

View File

@@ -86,7 +86,7 @@ class RepositoryRestControllerSpec extends Specification {
then:
mv.model.status == HttpStatus.OK
reposLinks?.size() == 3
reposLinks?.size() == 4
when: "adding an entity"
model.clear()

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
<persistence-unit name="jpa.sample">
<class>org.springframework.data.rest.test.webmvc.Family</class>
<class>org.springframework.data.rest.test.webmvc.Person</class>
<class>org.springframework.data.rest.test.webmvc.Profile</class>
<class>org.springframework.data.rest.test.webmvc.Address</class>