mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-05 09:50:34 +03:00
a85f5fae35
no issue - fix lint errors in lib/gh-koenig - fix ghost:base eslint errors - update ember plugin refs, remove ember-suave plugin refs - remove old jshint refs - add `lint:js` script - switch to `eslint-plugin-ghost` extending `plugin:ghost/ember`
27 lines
775 B
JavaScript
27 lines
775 B
JavaScript
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
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',
|
|
'transform:unsplash-settings'
|
|
]
|
|
});
|
|
|
|
// Replace this with your real tests.
|
|
it('serializes records', function () {
|
|
let record = this.subject();
|
|
|
|
let serializedRecord = record.serialize();
|
|
|
|
expect(serializedRecord).to.be.ok;
|
|
});
|
|
});
|