mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 11:55:03 +03:00
2ddedb6005
refs https://github.com/TryGhost/Ghost/issues/9311 - re-implement the (+) card/list selection menu from the old Koenig alpha with improved positioning and event handling - buttons work for the currently available cards - `<hr>` and `markdown`
25 lines
769 B
JavaScript
25 lines
769 B
JavaScript
import hbs from 'htmlbars-inline-precompile';
|
|
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
import {setupComponentTest} from 'ember-mocha';
|
|
|
|
describe('Integration: Component: koenig-plus-menu', function () {
|
|
setupComponentTest('koenig-plus-menu', {
|
|
integration: true
|
|
});
|
|
|
|
it('renders', function () {
|
|
// Set any properties with this.set('myProperty', 'value');
|
|
// Handle any actions with this.on('myAction', function(val) { ... });
|
|
// Template block usage:
|
|
// this.render(hbs`
|
|
// {{#koenig-plus-menu}}
|
|
// template content
|
|
// {{/koenig-plus-menu}}
|
|
// `);
|
|
|
|
this.render(hbs`{{koenig-plus-menu}}`);
|
|
expect(this.$()).to.have.length(1);
|
|
});
|
|
});
|