cms/app-client/tests/unit/routes/document-test.js
author ymh <ymh.work@gmail.com>
Mon, 14 Nov 2016 16:27:37 +0100
changeset 418 6eb84397be15
parent 414 5c6c526a7fc1
permissions -rw-r--r--
Correct error message 'split is deprecated' in php
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
414
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     1
import { moduleFor, test } from 'ember-qunit';
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     2
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     3
moduleFor('route:document', 'Unit | Route | document', {
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     4
  // Specify the other units that are required for this test.
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     5
  // needs: ['controller:foo']
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     6
});
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     7
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     8
test('it exists', function(assert) {
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
     9
  let route = this.subject();
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    10
  assert.ok(route);
5c6c526a7fc1 Display for single notice, preparation for share link
ymh <ymh.work@gmail.com>
parents:
diff changeset
    11
});