Ghost/ghost/admin/tests/integration/components/koenig-caption-input-test.js
Kevin Ansfield 2dc916299b Koenig - Extract card caption input into component
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
2018-06-12 18:10:23 +01:00

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);
});
});