2016-04-15 17:45:50 +03:00
|
|
|
/* jshint expr:true */
|
2017-05-29 21:50:03 +03:00
|
|
|
import hbs from 'htmlbars-inline-precompile';
|
2016-11-24 01:50:57 +03:00
|
|
|
import {describe, it} from 'mocha';
|
2017-05-29 21:50:03 +03:00
|
|
|
import {expect} from 'chai';
|
2016-11-24 01:50:57 +03:00
|
|
|
import {setupComponentTest} from 'ember-mocha';
|
2016-04-15 17:45:50 +03:00
|
|
|
|
2017-09-11 10:41:17 +03:00
|
|
|
describe('Integration: Component: modal-import-subscribers', function() {
|
|
|
|
setupComponentTest('modal-import-subscribers', {
|
2016-04-15 17:45:50 +03:00
|
|
|
integration: true
|
2016-11-24 01:50:57 +03:00
|
|
|
});
|
2016-04-15 17:45:50 +03:00
|
|
|
|
2016-11-24 01:50:57 +03:00
|
|
|
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`
|
2017-09-11 10:41:17 +03:00
|
|
|
// {{#modal-import-subscribers}}
|
2016-11-24 01:50:57 +03:00
|
|
|
// template content
|
2017-09-11 10:41:17 +03:00
|
|
|
// {{/modal-import-subscribers}}
|
2016-11-24 01:50:57 +03:00
|
|
|
// `);
|
|
|
|
|
2017-09-11 10:41:17 +03:00
|
|
|
this.render(hbs`{{modal-import-subscribers}}`);
|
2016-11-24 01:50:57 +03:00
|
|
|
expect(this.$()).to.have.length(1);
|
|
|
|
});
|
|
|
|
});
|