2018-11-24 17:03:51 +08:00

18 lines
433 B
JavaScript

import { moduleForComponent, test } from 'ember-qunit';
import hbs from 'htmlbars-inline-precompile';
moduleForComponent('local-product/has-perm', 'helper:local-product/has-perm', {
integration: true
});
// Replace this with your real tests.
test('it renders', function(assert) {
this.set('inputValue', '1234');
this.render(hbs`{{local-product/has-perm inputValue}}`);
assert.equal(this.$().text().trim(), '1234');
});