createWithMixins is deprecated.

This commit is contained in:
Robin Ward
2016-04-29 16:50:52 -04:00
parent a50edb87ec
commit 1a3b63e07d
3 changed files with 5 additions and 6 deletions

View File

@ -4,7 +4,7 @@ import SelectedPostsCount from 'discourse/mixins/selected-posts-count';
import Topic from 'discourse/models/topic';
var buildTestObj = function(params) {
return Ember.Object.createWithMixins(SelectedPostsCount, params || {});
return Ember.Object.extend(SelectedPostsCount).create(params || {});
};
test("without selectedPosts", function () {