2020-05-18 17:59:32 -04:00
|
|
|
import { module, test } from 'qunit';
|
|
|
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
|
|
|
import { render } from '@ember/test-helpers';
|
|
|
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
|
|
2020-05-19 18:10:39 -04:00
|
|
|
module('Integration | Helper | app-name', function (hooks) {
|
2020-05-18 17:59:32 -04:00
|
|
|
setupRenderingTest(hooks);
|
|
|
|
|
|
2020-05-19 18:10:39 -04:00
|
|
|
test('it renders', async function (assert) {
|
2020-10-05 17:20:04 -04:00
|
|
|
assert.expect(1);
|
2020-05-18 17:59:32 -04:00
|
|
|
await render(hbs`{{app-name}}`);
|
2020-09-27 14:19:54 -04:00
|
|
|
assert.equal(this.element.textContent.trim(), 'Boundary');
|
2020-05-18 17:59:32 -04:00
|
|
|
});
|
|
|
|
|
});
|