Ghost/ghost/admin/tests/integration/components/modals/import-subscribers-test.js
Kevin Ansfield 9ed5aad186 Flatten nested components (#854)
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
2017-09-11 14:41:17 +07:00

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