Fix spec for ORM