mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 18:31:57 +03:00
267ce40945
no issue - moves general UI state control such as menu display, autonav, settings menu, etc into a `ui` service for easier use within components - no longer required to jump through hoops passing state and actions down from application controller into components - removes indirect "route" actions in favour of calling actions/methods directly on the `ui` service
16 lines
379 B
JavaScript
16 lines
379 B
JavaScript
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
import {setupTest} from 'ember-mocha';
|
|
|
|
describe('Unit: Service: ui', function() {
|
|
setupTest('service:ui', {
|
|
needs: ['service:dropdown']
|
|
});
|
|
|
|
// Replace this with your real tests.
|
|
it('exists', function() {
|
|
let service = this.subject();
|
|
expect(service).to.be.ok;
|
|
});
|
|
});
|