github.com/DerekStrickland/consul@v1.4.5/ui-v2/tests/integration/helpers/slugify-test.js (about) 1 import { moduleForComponent, test, skip } from 'ember-qunit'; 2 import hbs from 'htmlbars-inline-precompile'; 3 4 moduleForComponent('slugify', 'helper:slugify', { 5 integration: true, 6 }); 7 8 // Replace this with your real tests. 9 test('it renders', function(assert) { 10 this.set('inputValue', 'Hi There'); 11 12 this.render(hbs`{{slugify inputValue}}`); 13 14 assert.equal( 15 this.$() 16 .text() 17 .trim(), 18 'hi-there' 19 ); 20 }); 21 skip("it copes with more values such as ' etc");