mirror of
https://github.com/datahub-project/datahub.git
synced 2025-07-31 21:36:08 +00:00
19 lines
611 B
JavaScript
19 lines
611 B
JavaScript
import { moduleForComponent, test } from 'ember-qunit';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
import { triggerEvent } from 'ember-native-dom-helpers';
|
|
|
|
moduleForComponent('dataset-aclaccess', 'Integration | Component | dataset aclaccess', {
|
|
integration: true
|
|
});
|
|
|
|
test('it renders', function(assert) {
|
|
this.setProperties({
|
|
acls: [],
|
|
accessTypeDropDownOptions: []
|
|
});
|
|
|
|
this.render(hbs`{{dataset-aclaccess acls=acls accessTypeDropDownOptions=accessTypeDropDownOptions}}`);
|
|
|
|
assert.ok(document.querySelector('.acl-permission__header'), 'it renders a constituent element in the DOM');
|
|
});
|