mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 00:11:49 +03:00
e74e2e039e
no issue - switch `jscs` and `jshint` inline config to `eslint` config - fix eslint errors, predominantly in tests where the config now the main app config more closely
24 lines
605 B
JavaScript
24 lines
605 B
JavaScript
/* jshint expr:true */
|
|
import {expect} from 'chai';
|
|
import {describeModel, it} from 'ember-mocha';
|
|
|
|
describeModel(
|
|
'post',
|
|
'Unit:Serializer: post',
|
|
{
|
|
// Specify the other units that are required for this test.
|
|
needs: ['transform:moment-utc', 'transform:json-string', 'model:user', 'model:tag']
|
|
},
|
|
|
|
function() {
|
|
// Replace this with your real tests.
|
|
it('serializes records', function() {
|
|
let record = this.subject();
|
|
|
|
let serializedRecord = record.serialize();
|
|
|
|
expect(serializedRecord).to.be.ok;
|
|
});
|
|
}
|
|
);
|