lemo-crm/web/tests/integration/helpers/repeat-it-test.js
2017-12-13 16:12:20 +08:00

18 lines
394 B
JavaScript

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