Files

24 lines
538 B
JavaScript

import { moduleForModel, test } from 'ember-qunit';
moduleForModel('post', 'Unit | Serializer | post', {
// Specify the other units that are required for this test.
needs: [
'serializer:post',
'model:tag',
'model:symptom',
'model:comment',
'model:condition',
'model:treatment',
'model:reaction',
]
});
// Replace this with your real tests.
test('it serializes records', function(assert) {
let record = this.subject();
let serializedRecord = record.serialize();
assert.ok(serializedRecord);
});