mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +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,4 +1,4 @@
|
|||
/* global asyncTest */
|
||||
/* global asyncTest, fixtures */
|
||||
|
||||
import sessionFixtures from 'fixtures/session-fixtures';
|
||||
import siteFixtures from 'fixtures/site_fixtures';
|
||||
|
@ -101,4 +101,19 @@ function fixture(selector) {
|
|||
return $("#qunit-fixture");
|
||||
}
|
||||
|
||||
export { acceptance, controllerFor, asyncTestDiscourse, fixture, logIn, currentUser };
|
||||
function present(obj, text) {
|
||||
ok(!Ember.isEmpty(obj), text);
|
||||
}
|
||||
|
||||
function blank(obj, text) {
|
||||
ok(Ember.isEmpty(obj), text);
|
||||
}
|
||||
|
||||
export { acceptance,
|
||||
controllerFor,
|
||||
asyncTestDiscourse,
|
||||
fixture,
|
||||
logIn,
|
||||
currentUser,
|
||||
blank,
|
||||
present };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue