mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
15 lines
387 B
JavaScript
15 lines
387 B
JavaScript
import { moduleForComponent, test } from 'ember-qunit';
|
|
import hbs from 'htmlbars-inline-precompile';
|
|
|
|
moduleForComponent('is-one-of', 'helper:action-type', {
|
|
integration: true
|
|
});
|
|
|
|
// Replace this with your real tests.
|
|
test('it renders', function(assert) {
|
|
this.set('inputValue', '1234');
|
|
|
|
this.render(hbs`{{is-one-of 1 1 2 3}}`);
|
|
|
|
assert.equal(this.$().text().trim(), 'true');
|
|
});
|