2020-10-05 16:49:35 -04:00
|
|
|
import { module, test } from 'qunit';
|
|
|
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
|
|
|
import { render, find } from '@ember/test-helpers';
|
|
|
|
|
import { hbs } from 'ember-cli-htmlbars';
|
|
|
|
|
|
2020-11-16 15:08:59 -05:00
|
|
|
module('Integration | Component | doc-link', function (hooks) {
|
2020-10-05 16:49:35 -04:00
|
|
|
setupRenderingTest(hooks);
|
|
|
|
|
|
2020-11-16 15:08:59 -05:00
|
|
|
test('it renders', async function (assert) {
|
2020-10-05 16:49:35 -04:00
|
|
|
assert.expect(1);
|
2020-10-06 17:24:30 -04:00
|
|
|
await render(hbs`<DocLink @doc="account" @iconSize="large" />`);
|
2020-10-05 16:49:35 -04:00
|
|
|
assert.ok(find('.doc-link .rose-icon.large'));
|
|
|
|
|
});
|
|
|
|
|
});
|