mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-04 04:10:33 +03:00
9ed5aad186
no issue - the upcoming Module Unification re-organisation in Ember will no longer support nested components - this PR pre-emptively moves our usage of nested components into a flat file structure
26 lines
830 B
JavaScript
26 lines
830 B
JavaScript
/* jshint expr:true */
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
import {setupComponentTest} from 'ember-mocha';
|
|
|
|
describe('Integration: Component: modal-import-subscribers', function() {
|
|
setupComponentTest('modal-import-subscribers', {
|
|
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`
|
|
// {{#modal-import-subscribers}}
|
|
// template content
|
|
// {{/modal-import-subscribers}}
|
|
// `);
|
|
|
|
this.render(hbs`{{modal-import-subscribers}}`);
|
|
expect(this.$()).to.have.length(1);
|
|
});
|
|
});
|