2018-08-12 22:44:01 -07:00
|
|
|
import { moduleForComponent, test } from 'ember-qunit';
|
2018-07-27 13:46:30 -07:00
|
|
|
import hbs from 'htmlbars-inline-precompile';
|
2018-08-12 22:44:01 -07:00
|
|
|
import { waitUntil, find } from 'ember-native-dom-helpers';
|
|
|
|
import { urn } from 'wherehows-web/mirage/fixtures/urn';
|
|
|
|
import sinon from 'sinon';
|
2018-07-27 13:46:30 -07:00
|
|
|
|
2018-08-12 22:44:01 -07:00
|
|
|
moduleForComponent(
|
|
|
|
'datasets/containers/dataset-health',
|
|
|
|
'Integration | Component | datasets/containers/dataset-health',
|
|
|
|
{
|
|
|
|
integration: true
|
|
|
|
}
|
|
|
|
);
|
|
|
|
|
|
|
|
test('it renders', async function(assert) {
|
|
|
|
this.set('urn', urn);
|
|
|
|
this.render(hbs`{{datasets/containers/dataset-health urn=urn}}`);
|
|
|
|
|
|
|
|
assert.ok(find('.dataset-health__score-table'), 'renders the health table component');
|
2018-07-27 13:46:30 -07:00
|
|
|
});
|