-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
We went off the path a bit and have some model tests that are testing models which are simple EmberObjects.
The following input:
const worker = this.subject({ user });
Produces the following output:
const worker = run(() => this.owner.lookup('service:store').createRecord('worker', { user }));
This obviously will cause the test to fail because this is not an EmberData model object. I can submit a failing test if you feel this usage should be handled.
Metadata
Metadata
Assignees
Labels
No labels