Fix forceId in tests

This commit is contained in:
jannyHou 2016-07-13 15:06:42 -04:00
parent 57ca624979
commit 19618209c8
1 changed files with 5 additions and 4 deletions

View File

@ -884,10 +884,11 @@ describe('relations - integration', function() {
plural: 'todo-lists', plural: 'todo-lists',
} }
); );
var todoItem = app.model( var todoItem = app.model('todoItem', {
'todoItem', properties: { content: 'string' },
{ properties: { content: 'string' }, dataSource: 'db' } forceId: false,
); dataSource: 'db',
});
todoList.embedsMany(todoItem, { as: 'items' }); todoList.embedsMany(todoItem, { as: 'items' });
}); });