cms/app-client/tests/unit/helpers/author-test.js
author ymh <ymh.work@gmail.com>
Fri, 18 Nov 2016 14:48:49 +0100
changeset 428 76a47f714766
parent 210 08ad36c693b1
permissions -rw-r--r--
add memcached configuration option, small corrections for the build process and add installDrupal.sh file to the release
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
210
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     1
import { author } from 'app-client/helpers/author';
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     2
import { module, test } from 'qunit';
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     3
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     4
module('Unit | Helper | author');
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     5
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     6
// Replace this with your real tests.
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     7
test('it works', function(assert) {
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     8
  let result = author([42]);
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
     9
  assert.ok(result);
08ad36c693b1 Player design
Chloe Laisne <chloe.laisne@gmail.com>
parents:
diff changeset
    10
});