mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Remove ObjectController, Discouse Controllers + Presence
This commit is contained in:
@ -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"};
|
||||
|
Reference in New Issue
Block a user