mirror of
https://github.com/TryGhost/Ghost-Admin.git
synced 2023-12-14 02:33:04 +01:00
19 lines
651 B
JavaScript
19 lines
651 B
JavaScript
|
import {describe, it} from 'mocha';
|
||
|
import {expect} from 'chai';
|
||
|
import {hbs} from 'ember-cli-htmlbars';
|
||
|
import {render} from '@ember/test-helpers';
|
||
|
import {setupRenderingTest} from 'ember-mocha';
|
||
|
|
||
|
describe('Integration: Component: gh-launch-wizard/customise-design', function () {
|
||
|
setupRenderingTest();
|
||
|
|
||
|
it('renders', async function () {
|
||
|
// Set any properties with this.set('myProperty', 'value');
|
||
|
// Handle any actions with this.set('myAction', function(val) { ... });
|
||
|
|
||
|
await render(hbs`<GhLaunchWizard::CustomiseDesign />`);
|
||
|
|
||
|
expect(this.element.textContent.trim()).to.equal('Customise design');
|
||
|
});
|
||
|
});
|