mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Remove ObjectController, Discouse Controllers + Presence
This commit is contained in:
parent
e2e3e7c0e0
commit
02a968bd27
130 changed files with 187 additions and 349 deletions
|
@ -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"};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue