2023-03-01 09:39:41 -06:00
|
|
|
/**
|
|
|
|
|
* Copyright (c) HashiCorp, Inc.
|
|
|
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
*/
|
|
|
|
|
|
2020-10-05 17:20:04 -04:00
|
|
|
import { module, test } from 'qunit';
|
|
|
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
|
|
|
import { render } from '@ember/test-helpers';
|
|
|
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
|
|
|
|
|
|
module('Integration | Helper | company-name', function (hooks) {
|
|
|
|
|
setupRenderingTest(hooks);
|
|
|
|
|
|
|
|
|
|
test('it renders', async function (assert) {
|
|
|
|
|
assert.expect(1);
|
|
|
|
|
await render(hbs`{{company-name}}`);
|
2022-07-07 11:18:51 -07:00
|
|
|
assert.strictEqual(this.element.textContent.trim(), 'Company Name');
|
2020-10-05 17:20:04 -04:00
|
|
|
});
|
|
|
|
|
});
|