From 3d37d1132de09b78826cc1d50f5a247083c71c1f Mon Sep 17 00:00:00 2001 From: Stefan Penner Date: Thu, 20 Oct 2016 00:40:26 +0300 Subject: [PATCH] fix integration/record-array-test setup --- tests/integration/record-array-test.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/integration/record-array-test.js b/tests/integration/record-array-test.js index de20880dc6f..d0c0b5f9e10 100644 --- a/tests/integration/record-array-test.js +++ b/tests/integration/record-array-test.js @@ -26,9 +26,9 @@ const Tool = DS.Model.extend({ module('unit/record_array - DS.RecordArray', { beforeEach() { array = Ember.A([ - { id: '1', name: "Scumbag Dale" }, - { id: '2', name: "Scumbag Katz" }, - { id: '3', name: "Scumbag Bryn" } + { id: '1', name: 'Scumbag Dale' }, + { id: '2', name: 'Scumbag Katz' }, + { id: '3', name: 'Scumbag Bryn' } ]); } }); @@ -332,7 +332,8 @@ test("a loaded record is not removed from both the record array and from the bel // GitHub Issue #168 test('a newly created record is removed from a record array when it is deleted', function(assert) { let store = createStore({ - person: Person + person: Person, + tag: Tag }); let recordArray = store.peekAll('person'); let scumbag;