Skip to content

Commit

Permalink
fix tests for 1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Oct 19, 2016
1 parent 8fdf8db commit d2ddd72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default RecordArray.extend({
init() {
this._super(...arguments);

this.filterFunction = this.filterFunction || null;
this.set('filterFunction', this.get('filterFunction') || null);
this.isLoaded = true;
},
/**
Expand Down
2 changes: 1 addition & 1 deletion addon/-private/system/record-arrays/record-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default Ember.ArrayProxy.extend(Ember.Evented, {
@private
@type Ember.Array
*/
this.content = this.content || null;
this.set('content', this.content || null);

/**
The flag to signal a `RecordArray` is finished loading data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ test('default initial state', function(assert) {
});

test('custom initial state', function(assert) {
let content = [];
let content = Ember.A([]);
let store = {};
let recordArray = AdapterPopulatedRecordArray.create({
type: 'apple',
Expand Down

0 comments on commit d2ddd72

Please sign in to comment.