19 lines
635 B
JavaScript
19 lines
635 B
JavaScript
|
import { module, test } from 'qunit';
|
||
|
import { setupRenderingTest } from 'ember-qunit';
|
||
|
import { render } from '@ember/test-helpers';
|
||
|
import { hbs } from 'ember-cli-htmlbars';
|
||
|
|
||
|
module('Integration | Component | jumbo', function(hooks) {
|
||
|
setupRenderingTest(hooks);
|
||
|
|
||
|
test('it renders content inside the jumbo', async function(assert) {
|
||
|
// Set any properties with this.set('myProperty', 'value');
|
||
|
// Handle any actions with this.set('myAction', function(val) { ... });
|
||
|
|
||
|
await render(hbs`<Jumbo>Hello World!</Jumbo>`);
|
||
|
|
||
|
assert.dom('.jumbotron').exists();
|
||
|
assert.dom('.jumbotron').hasText('Hello World!');
|
||
|
});
|
||
|
});
|