1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-19 05:09:42 +02:00
documize/gui/tests/integration/helpers/is-one-of-test.js
2018-12-08 15:39:31 +00:00

17 lines
506 B
JavaScript

import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, find } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
module('helper:action-type', function(hooks) {
setupRenderingTest(hooks);
// Replace this with your real tests.
test('it renders', async function(assert) {
this.set('inputValue', '1234');
await render(hbs`{{is-one-of 1 1 2 3}}`);
assert.equal(find('*').textContent.trim(), 'true');
});
});