2016-05-08 16:15:04 +03:00
|
|
|
/* jshint expr:true */
|
2016-11-14 16:16:51 +03:00
|
|
|
import {expect} from 'chai';
|
2016-05-08 16:15:04 +03:00
|
|
|
import {
|
|
|
|
describeComponent,
|
|
|
|
it
|
|
|
|
} from 'ember-mocha';
|
|
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
|
|
|
|
describeComponent(
|
|
|
|
'modals/delete-subscriber',
|
|
|
|
'Integration: Component: modals/delete-subscriber',
|
|
|
|
{
|
|
|
|
integration: true
|
|
|
|
},
|
|
|
|
function() {
|
|
|
|
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`
|
|
|
|
// {{#modals/delete-subscriber}}
|
|
|
|
// template content
|
|
|
|
// {{/modals/delete-subscriber}}
|
|
|
|
// `);
|
|
|
|
|
|
|
|
this.render(hbs`{{modals/delete-subscriber}}`);
|
|
|
|
expect(this.$()).to.have.length(1);
|
|
|
|
});
|
|
|
|
}
|
|
|
|
);
|