cms/app-client/tests/unit/routes/document-test.js
author ymh <ymh.work@gmail.com>
Fri, 17 Nov 2017 18:02:04 +0100
changeset 567 271e2afbf830
parent 414 5c6c526a7fc1
permissions -rw-r--r--
Correct share button url
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
});