Skip to content

Commit

Permalink
delete record does not have a return value
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Apr 5, 2018
1 parent 83aa675 commit 5f08343
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/adapter/store-adapter-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,10 @@ testInDebug("There should be a friendly error for if the adapter does not implem
let tom = run(() => store.push({ data: { type: 'person', id: 1 } }));

assert.expectAssertion(() => {
run(() => tom.deleteRecord().save());
run(() => {
tom.deleteRecord();
return tom.save();
});
}, /does not implement 'deleteRecord'/);

moveRecordOutOfInFlight(tom);
Expand Down

0 comments on commit 5f08343

Please sign in to comment.