Ghost/ghost/admin/tests/unit/serializers/post-test.js
Kevin Ansfield e74e2e039e Update code to match eslint rules
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
2016-11-14 13:26:00 +00:00

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;
});
}
);