cms/app-client/tests/unit/serializers/discourse-test.js
author ymh <ymh.work@gmail.com>
Tue, 17 Jan 2017 13:30:54 +0100
changeset 487 514dc9b6f875
parent 465 9df336529b2f
permissions -rw-r--r--
Reorder media files for notice. Make the most compressed one (mp3, mp4) the default. Closes #0025878

import { moduleForModel, test } from 'ember-qunit';

moduleForModel('discourse', 'Unit | Serializer | discourse', {
  // Specify the other units that are required for this test.
  needs: ['serializer:discourse']
});

// Replace this with your real tests.
test('it serializes records', function(assert) {
  let record = this.subject();

  let serializedRecord = record.serialize();

  assert.ok(serializedRecord);
});