lemo-crm/web/tests/integration/helpers/str-split-test.js
2018-02-14 13:58:55 +08:00

18 lines
394 B
JavaScript

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