21 lines
555 B
JavaScript
21 lines
555 B
JavaScript
/* jshint expr:true */
|
|
import {expect} from 'chai';
|
|
import {describe, it} from 'mocha';
|
|
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;
|
|
});
|
|
});
|