Remove ObjectController, Discouse Controllers + Presence

This commit is contained in:
Robin Ward
2015-08-11 12:27:07 -04:00
parent e2e3e7c0e0
commit 02a968bd27
130 changed files with 187 additions and 349 deletions

View File

@ -1,11 +1,6 @@
import Presence from 'discourse/mixins/presence';
import Model from 'discourse/models/model';
module("Discourse.Model");
test("mixes in Presence", function() {
ok(Presence.detect(Model.create()));
});
module("model:discourse");
test("extractByKey: converts a list of hashes into a hash of instances of specified class, indexed by their ids", function() {
var firstObject = {id: "id_1", foo: "foo_1"};