1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-21 14:19:43 +02:00
documize/gui/tests/integration/helpers/is-one-of-test.js
2018-01-24 13:23:11 +00:00

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');
});