2018-08-09 10:41:52 -07:00
|
|
|
import { module, skip } from 'qunit';
|
|
|
|
import { setupRenderingTest } from 'ember-qunit';
|
|
|
|
import { render } from '@ember/test-helpers';
|
2018-02-07 12:32:03 -08:00
|
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
|
2018-08-09 10:41:52 -07:00
|
|
|
module('Integration | Component | dataset aclaccess', function(hooks) {
|
|
|
|
setupRenderingTest(hooks);
|
2018-02-07 12:32:03 -08:00
|
|
|
|
2018-08-09 10:41:52 -07:00
|
|
|
skip('it renders', async function(assert) {
|
|
|
|
this.setProperties({
|
|
|
|
acls: [],
|
|
|
|
accessTypeDropDownOptions: []
|
|
|
|
});
|
2018-02-07 12:32:03 -08:00
|
|
|
|
2018-08-09 10:41:52 -07:00
|
|
|
await render(hbs`{{dataset-aclaccess acls=acls accessTypeDropDownOptions=accessTypeDropDownOptions}}`);
|
2018-02-07 12:32:03 -08:00
|
|
|
|
2018-08-09 10:41:52 -07:00
|
|
|
assert.ok(document.querySelector('.acl-permission__header'), 'it renders a constituent element in the DOM');
|
|
|
|
});
|
2018-02-07 12:32:03 -08:00
|
|
|
});
|