mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-19 16:42:17 +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`
20 lines
534 B
JavaScript
20 lines
534 B
JavaScript
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
import {setupModelTest} from 'ember-mocha';
|
|
|
|
describe('Unit:Serializer: role', function () {
|
|
setupModelTest('role', {
|
|
// Specify the other units that are required for this test.
|
|
needs: ['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;
|
|
});
|
|
});
|