mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-12 06:25:51 +03:00
26 lines
815 B
JavaScript
26 lines
815 B
JavaScript
/* jshint expr:true */
|
|
import {expect} from 'chai';
|
|
import {describe, it} from 'mocha';
|
|
import {setupComponentTest} from 'ember-mocha';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
describe('Integration: Component: modals/new-subscriber', function() {
|
|
setupComponentTest('modals/new-subscriber', {
|
|
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`
|
|
// {{#modals/new-subscriber}}
|
|
// template content
|
|
// {{/modals/new-subscriber}}
|
|
// `);
|
|
|
|
this.render(hbs`{{modals/new-subscriber}}`);
|
|
expect(this.$()).to.have.length(1);
|
|
});
|
|
});
|