consul/ui-v2/tests/integration/helpers/token/is-anonymous-test.js
John Cowen 7d89e519a2 UI: New ACLs (#4789)
UI to accompany the new ACLs APIs
2018-10-19 08:45:05 -07:00

21 lines
464 B
JavaScript

import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('token/is-anonymous', 'helper:token/is-anonymous', {
integration: true,
});
// Replace this with your real tests.
test('it renders', function(assert) {
this.set('inputValue', { AccessorID: '00000' });
this.render(hbs`{{token/is-anonymous inputValue}}`);
assert.equal(
this.$()
.text()
.trim(),
'false'
);
});