mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:41:17 +08:00
Remove ObjectController, Discouse Controllers + Presence
This commit is contained in:
@ -8,14 +8,6 @@ function count(selector) {
|
||||
return find(selector).length;
|
||||
}
|
||||
|
||||
function present(obj, text) {
|
||||
ok(!Ember.isEmpty(obj), text);
|
||||
}
|
||||
|
||||
function blank(obj, text) {
|
||||
ok(Ember.isEmpty(obj), text);
|
||||
}
|
||||
|
||||
function containsInstance(collection, klass, text) {
|
||||
ok(klass.detectInstance(_.first(collection)), text);
|
||||
}
|
||||
|
Reference in New Issue
Block a user