16 lines
423 B
JavaScript
16 lines
423 B
JavaScript
import { moduleForModel, test } from 'ember-qunit';
|
|
|
|
moduleForModel('find-result', 'Unit | Serializer | find result', {
|
|
// Specify the other units that are required for this test.
|
|
needs: ['serializer:find-result']
|
|
});
|
|
|
|
// Replace this with your real tests.
|
|
test('it serializes records', function(assert) {
|
|
let record = this.subject();
|
|
|
|
let serializedRecord = record.serialize();
|
|
|
|
assert.ok(serializedRecord);
|
|
});
|