Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Mendes committed Jan 10, 2017
1 parent 97f9706 commit 3f10a03
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/integration/debug-adapter-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,12 @@ module("DS.DebugAdapter", {
store = App.__container__.lookup('service:store');
debugAdapter = App.__container__.lookup('data-adapter:main');

let klass = App.__container__.factoryFor('model:post').class;
let name = 'post';

debugAdapter.reopen({
getModelTypes() {
return Ember.A([{ klass: App.__container__.lookupFactory('model:post'), name: 'post' }]);
return Ember.A([{ klass, name }]);
}
});
},
Expand Down

0 comments on commit 3f10a03

Please sign in to comment.