Ghost/ghost/admin/tests/unit/serializers/setting-test.js
2016-11-27 15:26:05 +01:00

27 lines
753 B
JavaScript

/* jshint expr:true */
import {expect} from 'chai';
import {describe, it} from 'mocha';
import {setupModelTest} from 'ember-mocha';
describe('Unit:Serializer: setting', function() {
setupModelTest('setting', {
// Specify the other units that are required for this test.
needs: [
'transform:moment-utc',
'transform:facebook-url-user',
'transform:twitter-url-user',
'transform:navigation-settings',
'transform:slack-settings'
]
});
// Replace this with your real tests.
it('serializes records', function() {
let record = this.subject();
let serializedRecord = record.serialize();
expect(serializedRecord).to.be.ok;
});
});