Commit 859a60d4 by Alex MacCaw

Fix tests

parent f6cf7583
...@@ -79,7 +79,7 @@ describe('Person', function () { ...@@ -79,7 +79,7 @@ describe('Person', function () {
.then(function (personCompany) { .then(function (personCompany) {
expect(personCompany) expect(personCompany)
.to.be.an.instanceOf(PersonCompany) .to.be.an.instanceOf(PersonCompany)
.and.have.have.keys('person', 'company') .and.have.include.keys('person', 'company')
.and.have.deep.property('person.id', alex.id); .and.have.deep.property('person.id', alex.id);
}); });
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment