Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix integration/record-array-test setup #4598

Merged
merged 1 commit into from
Oct 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions tests/integration/record-array-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
]);
}
});
Expand Down Expand Up @@ -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;
Expand Down