mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
2dc916299b
refs https://github.com/TryGhost/Ghost/issues/9623 - add new `{{koenig-caption-input}}` component - yield koenig-caption-input instance from the `{{koenig-card}}` component - remove duplicated caption logic from image and embed cards - remove placeholder when caption input has focus
25 lines
794 B
JavaScript
25 lines
794 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-caption-input', function () {
|
|
setupComponentTest('koenig-caption-input', {
|
|
integration: true
|
|
});
|
|
|
|
it.skip('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-caption-input}}
|
|
// template content
|
|
// {{/koenig-caption-input}}
|
|
// `);
|
|
|
|
this.render(hbs`{{koenig-caption-input}}`);
|
|
expect(this.$()).to.have.length(1);
|
|
});
|
|
});
|