This commit is contained in:
Tom Moor
2017-07-10 00:42:15 -07:00
parent 205590ca6a
commit 112508e48f
4 changed files with 1 additions and 8 deletions

View File

@ -25,6 +25,7 @@ describe('Collection model', () => {
});
await collection.fetch();
expect(client.post).toHaveBeenCalledWith('/collections.info', { id: 123 });
expect(collection.name).toBe('New collection');
});