Testing 1.13 Ember.Helper Objects

import { module, test } from 'qunit';
import slugifyStringHelper from '../../../helpers/slugify-string';

module('helper:slugify-string');

test('#compute', function(assert) {
  assert.expect(2);
  assert.equal(slugifyStringHelper.compute([' Hello World! ']), 'hello-world');
  assert.equal(slugifyStringHelper.compute(['<script>']), 'script');
});

This technique works for both types of helper: Ember.Helper.helper and Ember.Helper.extend