mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
21 lines
581 B
JavaScript
21 lines
581 B
JavaScript
/* jshint expr:true */
|
|
import {expect} from 'chai';
|
|
import {describe, it} from 'mocha';
|
|
import {setupModelTest} from 'ember-mocha';
|
|
|
|
describe('Unit:Serializer: subscriber', function() {
|
|
setupModelTest('subscriber', {
|
|
// Specify the other units that are required for this test.
|
|
needs: ['model:post', 'transform:moment-utc']
|
|
});
|
|
|
|
// Replace this with your real tests.
|
|
it('serializes records', function() {
|
|
let record = this.subject();
|
|
|
|
let serializedRecord = record.serialize();
|
|
|
|
expect(serializedRecord).to.be.ok;
|
|
});
|
|
});
|