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-05-08 16:15:04 +03:00
|
|
|
|
2018-01-05 18:38:23 +03:00
|
|
|
describe('Integration: Component: modal-delete-subscriber', function () {
|
2017-09-11 10:41:17 +03:00
|
|
|
setupComponentTest('modal-delete-subscriber', {
|
2016-05-08 16:15:04 +03:00
|
|
|
integration: true
|
2016-11-24 01:50:57 +03:00
|
|
|
});
|
2016-05-08 16:15:04 +03:00
|
|
|
|
2018-01-05 18:38:23 +03:00
|
|
|
it('renders', function () {
|
2016-11-24 01:50:57 +03:00
|
|
|
// 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-delete-subscriber}}
|
2016-11-24 01:50:57 +03:00
|
|
|
// template content
|
2017-09-11 10:41:17 +03:00
|
|
|
// {{/modal-delete-subscriber}}
|
2016-11-24 01:50:57 +03:00
|
|
|
// `);
|
|
|
|
|
2017-09-11 10:41:17 +03:00
|
|
|
this.render(hbs`{{modal-delete-subscriber}}`);
|
2016-11-24 01:50:57 +03:00
|
|
|
expect(this.$()).to.have.length(1);
|
|
|
|
});
|
|
|
|
});
|