mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 13:22:39 +03:00
1520122483
no issue - https://github.com/emberjs/ember-mocha/blob/master/docs/migration.md#upgrading-to-the-new-testing-apis - deleted tests files which had no specific tests - migrated unskipped component unit tests to integration tests
14 lines
387 B
JavaScript
14 lines
387 B
JavaScript
import {describe, it} from 'mocha';
|
|
import {expect} from 'chai';
|
|
import {setupTest} from 'ember-mocha';
|
|
|
|
describe('Unit: Model: setting', function () {
|
|
setupTest();
|
|
|
|
it('has a validation type of "setting"', function () {
|
|
let model = this.owner.lookup('service:store').createRecord('setting');
|
|
|
|
expect(model.get('validationType')).to.equal('setting');
|
|
});
|
|
});
|